Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 99.75 kB / 18.94 MB, free: 2.832 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 215 kB / 22.25 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.369/1.369, allocations: 230.6 MB / 256 MB, free: 7.84 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.923/2.923, allocations: 0.49 GB / 0.7951 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 70.05 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3298, allocations: 176.1 MB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1722/0.5019, allocations: 143.9 MB / 1.466 GB, free: 1.039 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005574/0.5075, allocations: 4.222 MB / 1.471 GB, free: 12.81 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002888/0.5078, allocations: 19.81 kB / 1.471 GB, free: 12.79 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004348/0.5082, allocations: 123.1 kB / 1.471 GB, free: 12.67 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.5095, allocations: 0.5601 MB / 1.471 GB, free: 12.11 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.5112, allocations: 0.8048 MB / 1.472 GB, free: 11.3 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0006955/0.5119, allocations: 0.5807 MB / 1.473 GB, free: 10.72 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003226/0.5122, allocations: 173.4 kB / 1.473 GB, free: 10.54 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00145/0.5137, allocations: 0.6695 MB / 1.473 GB, free: 9.871 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006078/0.5143, allocations: 314.8 kB / 1.474 GB, free: 9.562 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.377e-05/0.5143, allocations: 16 kB / 1.474 GB, free: 9.547 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.5157, allocations: 0.8609 MB / 1.475 GB, free: 8.684 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.5158, allocations: 99.7 kB / 1.475 GB, free: 8.586 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.5159, allocations: 103.5 kB / 1.475 GB, free: 8.484 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0009082/0.5168, allocations: 0.6815 MB / 1.475 GB, free: 7.801 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.5168, allocations: 0 / 1.475 GB, free: 7.801 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5168, allocations: 0 / 1.475 GB, free: 7.801 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.5168, allocations: 4 kB / 1.475 GB, free: 7.797 MB / 1.17 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.0009227/0.5178, allocations: 0.5275 MB / 1.476 GB, free: 7.238 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.5178, allocations: 12.02 kB / 1.476 GB, free: 7.227 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.632e-05/0.5179, allocations: 58.55 kB / 1.476 GB, free: 7.16 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006327/0.5185, allocations: 79.69 kB / 1.476 GB, free: 7.082 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/0.5189, allocations: 229.7 kB / 1.476 GB, free: 6.832 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.519, allocations: 16 kB / 1.476 GB, free: 6.816 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.684e-05/0.519, allocations: 16 kB / 1.476 GB, free: 6.801 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005072/0.5195, allocations: 292.1 kB / 1.477 GB, free: 6.488 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.5195, allocations: 4 kB / 1.477 GB, free: 6.484 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.5195, allocations: 15.94 kB / 1.477 GB, free: 6.469 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.5196, allocations: 7.938 kB / 1.477 GB, free: 6.461 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004273/0.52, allocations: 204.2 kB / 1.477 GB, free: 6.262 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.5215, allocations: 1.159 MB / 1.478 GB, free: 5.027 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/0.5218, allocations: 180.9 kB / 1.478 GB, free: 4.805 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.522, allocations: 104.2 kB / 1.478 GB, free: 4.688 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006432/0.5226, allocations: 107.9 kB / 1.478 GB, free: 4.582 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.5227, allocations: 38.69 kB / 1.478 GB, free: 4.535 MB / 1.17 GB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.5227, allocations: 3.938 kB / 1.478 GB, free: 4.531 MB / 1.17 GB Notification: Performance of matching and sorting (n=13): time 0.0007269/0.5234, allocations: 281.6 kB / 1.479 GB, free: 4.25 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.032e-05/0.5235, allocations: 162.2 kB / 1.479 GB, free: 4.055 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.5238, allocations: 288.2 kB / 1.479 GB, free: 3.766 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.5238, allocations: 25.7 kB / 1.479 GB, free: 3.734 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.5239, allocations: 151.9 kB / 1.479 GB, free: 3.582 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.524, allocations: 47.62 kB / 1.479 GB, free: 3.535 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.998e-05/0.524, allocations: 45.66 kB / 1.479 GB, free: 3.484 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.5242, allocations: 338.8 kB / 1.48 GB, free: 3.145 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.5243, allocations: 63.95 kB / 1.48 GB, free: 3.082 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.5246, allocations: 252.8 kB / 1.48 GB, free: 2.781 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003712/0.525, allocations: 211.5 kB / 1.48 GB, free: 2.547 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.525, allocations: 0 / 1.48 GB, free: 2.547 MB / 1.17 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004999/0.5255, allocations: 245.2 kB / 1.48 GB, free: 2.301 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.5255, allocations: 4 kB / 1.48 GB, free: 2.297 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.5255, allocations: 4 kB / 1.48 GB, free: 2.293 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.5255, allocations: 3.984 kB / 1.48 GB, free: 2.289 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.5257, allocations: 36.23 kB / 1.48 GB, free: 2.254 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.5257, allocations: 7.938 kB / 1.48 GB, free: 2.246 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.5259, allocations: 39.7 kB / 1.48 GB, free: 2.207 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/0.5259, allocations: 8 kB / 1.48 GB, free: 2.199 MB / 1.17 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.0001427/0.5261, allocations: 153.8 kB / 1.481 GB, free: 2.039 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.5262, allocations: 23.86 kB / 1.481 GB, free: 2.016 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004647/0.5267, allocations: 190.1 kB / 1.481 GB, free: 1.809 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.5267, allocations: 4 kB / 1.481 GB, free: 1.805 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.5267, allocations: 8.047 kB / 1.481 GB, free: 1.797 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.5267, allocations: 3.938 kB / 1.481 GB, free: 1.793 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009581/0.5277, allocations: 0.8033 MB / 1.482 GB, free: 0.9219 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.5277, allocations: 4 kB / 1.482 GB, free: 0.918 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.5278, allocations: 27.92 kB / 1.482 GB, free: 0.8906 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.5278, allocations: 4 kB / 1.482 GB, free: 0.8867 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.5278, allocations: 3.984 kB / 1.482 GB, free: 0.8828 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.5278, allocations: 7.938 kB / 1.482 GB, free: 0.875 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5278, allocations: 0 / 1.482 GB, free: 0.875 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005456/0.5284, allocations: 347.6 kB / 1.482 GB, free: 0.5039 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 7.477e-05/0.5284, allocations: 35.81 kB / 1.482 GB, free: 480 kB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.5285, allocations: 7.938 kB / 1.482 GB, free: 472 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.5286, allocations: 11.98 kB / 1.482 GB, free: 460 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.5287, allocations: 7.984 kB / 1.482 GB, free: 452 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.5287, allocations: 4 kB / 1.482 GB, free: 448 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002341/0.5289, allocations: 239 kB / 1.482 GB, free: 212 kB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.5289, allocations: 0 / 1.482 GB, free: 212 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004159/0.5293, allocations: 91.94 kB / 1.482 GB, free: 120 kB / 1.17 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.001113/0.5304, allocations: 0.9817 MB / 1.483 GB, free: 15.09 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0003726/0.5308, allocations: 143.8 kB / 1.483 GB, free: 14.95 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5308, allocations: 0 / 1.483 GB, free: 14.95 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.531, allocations: 63.83 kB / 1.484 GB, free: 14.89 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007255/0.5317, allocations: 147.7 kB / 1.484 GB, free: 14.75 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003312/0.535, allocations: 2.763 MB / 1.486 GB, free: 11.83 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.5351, allocations: 154.2 kB / 1.487 GB, free: 11.66 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001779/0.5353, allocations: 58.95 kB / 1.487 GB, free: 11.6 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.5354, allocations: 75.41 kB / 1.487 GB, free: 11.53 MB / 1.186 GB Notification: Performance of SimCode: time 3.2e-07/0.5354, allocations: 0 / 1.487 GB, free: 11.53 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03833/0.5738, allocations: 9.708 MB / 1.496 GB, free: 2.066 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.87, allocations: 3.938 kB / 1.496 GB, free: 2.062 MB / 1.186 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.9930619779916]