Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 192.1 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 239.9 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.345/2.345, allocations: 437 MB / 0.7101 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 63.89 kB / 0.8689 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5648/0.5662, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1501/0.7163, allocations: 161 MB / 1.174 GB, free: 1.086 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004745/0.7211, allocations: 4.546 MB / 1.179 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002432/0.7214, allocations: 15.94 kB / 1.179 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000359/0.7217, allocations: 99.36 kB / 1.179 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.7228, allocations: 0.5097 MB / 1.179 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.7241, allocations: 0.7163 MB / 1.18 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005459/0.7247, allocations: 0.5806 MB / 1.18 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002841/0.725, allocations: 197.2 kB / 1.181 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007621/0.7258, allocations: 458.3 kB / 1.181 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000456/0.7262, allocations: 302.9 kB / 1.181 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.7263, allocations: 20 kB / 1.181 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.7275, allocations: 1.052 MB / 1.182 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.439e-05/0.7276, allocations: 87.78 kB / 1.183 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.7277, allocations: 123.3 kB / 1.183 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008359/0.7286, allocations: 0.7674 MB / 1.183 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.7286, allocations: 0 / 1.183 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7286, allocations: 0 / 1.183 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.7286, allocations: 4 kB / 1.183 GB, free: 7.605 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007821/0.7294, allocations: 0.5919 MB / 1.184 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.7295, allocations: 16.03 kB / 1.184 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.361e-05/0.7295, allocations: 46.55 kB / 1.184 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006024/0.7301, allocations: 79.58 kB / 1.184 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.7304, allocations: 283.3 kB / 1.184 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.7305, allocations: 19.94 kB / 1.184 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.044e-05/0.7305, allocations: 20 kB / 1.184 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004414/0.731, allocations: 287.4 kB / 1.185 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.731, allocations: 3.938 kB / 1.185 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.731, allocations: 15.92 kB / 1.185 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.731, allocations: 4 kB / 1.185 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003869/0.7314, allocations: 207.5 kB / 1.185 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.7328, allocations: 1.238 MB / 1.186 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.7331, allocations: 177 kB / 1.186 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.7332, allocations: 116.2 kB / 1.186 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006947/0.7339, allocations: 331.3 kB / 1.187 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.734, allocations: 38.56 kB / 1.187 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.734, allocations: 0 / 1.187 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0006811/0.7347, allocations: 281 kB / 1.187 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.19e-05/0.7348, allocations: 162.7 kB / 1.187 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.735, allocations: 286.9 kB / 1.187 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.735, allocations: 29.7 kB / 1.187 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.939e-05/0.7351, allocations: 147.9 kB / 1.188 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.7352, allocations: 43.3 kB / 1.188 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.707e-05/0.7353, allocations: 41.7 kB / 1.188 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.7354, allocations: 342.8 kB / 1.188 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.7355, allocations: 71.94 kB / 1.188 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.7358, allocations: 144.5 kB / 1.188 GB, free: 2.215 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.7361, allocations: 211.5 kB / 1.188 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.7361, allocations: 8 kB / 1.188 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004723/0.7366, allocations: 245 kB / 1.189 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.7366, allocations: 8 kB / 1.189 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.7366, allocations: 4 kB / 1.189 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.7366, allocations: 4.25 kB / 1.189 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.7368, allocations: 43.91 kB / 1.189 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.7368, allocations: 4 kB / 1.189 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.737, allocations: 31.77 kB / 1.189 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.7371, allocations: 8 kB / 1.189 GB, free: 1.625 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.7372, allocations: 153.8 kB / 1.189 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.7373, allocations: 23.72 kB / 1.189 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004312/0.7378, allocations: 198 kB / 1.189 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.7378, allocations: 4 kB / 1.189 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.7378, allocations: 4 kB / 1.189 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.7378, allocations: 3.938 kB / 1.189 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008784/0.7387, allocations: 0.855 MB / 1.19 GB, free: 296 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.7387, allocations: 0 / 1.19 GB, free: 296 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.7388, allocations: 23.92 kB / 1.19 GB, free: 272 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.7388, allocations: 4 kB / 1.19 GB, free: 268 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.7388, allocations: 4 kB / 1.19 GB, free: 264 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.7388, allocations: 3.938 kB / 1.19 GB, free: 260 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.7388, allocations: 3.984 kB / 1.19 GB, free: 256 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005068/0.7394, allocations: 335.5 kB / 1.19 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.152e-05/0.7395, allocations: 120.7 kB / 1.19 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.7395, allocations: 128 / 1.19 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.7397, allocations: 27.95 kB / 1.19 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.7397, allocations: 4 kB / 1.19 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.7397, allocations: 4 kB / 1.19 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002162/0.74, allocations: 237.9 kB / 1.191 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.74, allocations: 3.938 kB / 1.191 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000398/0.7404, allocations: 99.92 kB / 1.191 GB, free: 15.38 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001102/0.7415, allocations: 0.9711 MB / 1.192 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003567/0.7418, allocations: 168 kB / 1.192 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.7419, allocations: 0 / 1.192 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.742, allocations: 63.83 kB / 1.192 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006899/0.7427, allocations: 125.2 kB / 1.192 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003093/0.7458, allocations: 2.821 MB / 1.195 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.7461, allocations: 0.7558 MB / 1.196 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001963/0.7463, allocations: 62.92 kB / 1.196 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.961e-05/0.7464, allocations: 75.41 kB / 1.196 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of SimCode: time 3.01e-07/0.7464, allocations: 0 / 1.196 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.162/2.909, allocations: 8.398 MB / 1.204 GB, free: 1.926 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002183/2.909, allocations: 240.6 kB / 1.204 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.22/5.129, allocations: 0 / 1.204 GB, free: 1.672 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches