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.001792/0.001792, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002063/0.002063, allocations: 212.4 kB / 22.24 MB, free: 5.262 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.372/1.372, allocations: 230.6 MB / 256 MB, free: 7.785 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.94/2.94, allocations: 0.4892 GB / 0.7943 GB, free: 35.56 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.002042/0.002042, allocations: 64.81 kB / 1.153 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3308, allocations: 176.1 MB / 1.325 GB, free: 2.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1794/0.5102, allocations: 143.9 MB / 1.466 GB, free: 1.922 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005824/0.516, allocations: 4.226 MB / 1.47 GB, free: 13.69 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003246/0.5163, allocations: 11.88 kB / 1.47 GB, free: 13.68 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000454/0.5168, allocations: 135 kB / 1.47 GB, free: 13.54 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001391/0.5182, allocations: 0.5562 MB / 1.47 GB, free: 12.98 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.52, allocations: 0.7969 MB / 1.471 GB, free: 12.19 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0007895/0.5208, allocations: 0.5768 MB / 1.472 GB, free: 11.61 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003032/0.5211, allocations: 165.3 kB / 1.472 GB, free: 11.44 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.5226, allocations: 0.6772 MB / 1.473 GB, free: 10.76 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006169/0.5232, allocations: 310.7 kB / 1.473 GB, free: 10.46 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.027e-05/0.5233, allocations: 20 kB / 1.473 GB, free: 10.44 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.5249, allocations: 0.8454 MB / 1.474 GB, free: 9.59 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.525, allocations: 91.72 kB / 1.474 GB, free: 9.5 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.5251, allocations: 107.5 kB / 1.474 GB, free: 9.395 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.5263, allocations: 0.6776 MB / 1.475 GB, free: 8.715 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.5263, allocations: 0 / 1.475 GB, free: 8.715 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.013e-06/0.5263, allocations: 0 / 1.475 GB, free: 8.715 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.5263, allocations: 0 / 1.475 GB, free: 8.715 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.0009675/0.5273, allocations: 0.5314 MB / 1.475 GB, free: 8.152 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.5273, allocations: 15.97 kB / 1.475 GB, free: 8.137 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.973e-05/0.5274, allocations: 50.55 kB / 1.475 GB, free: 8.078 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006145/0.528, allocations: 91.66 kB / 1.475 GB, free: 7.988 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/0.5284, allocations: 229.7 kB / 1.475 GB, free: 7.738 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.5285, allocations: 20 kB / 1.475 GB, free: 7.719 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.64e-05/0.5285, allocations: 16 kB / 1.476 GB, free: 7.703 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005028/0.529, allocations: 288.1 kB / 1.476 GB, free: 7.395 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.529, allocations: 0 / 1.476 GB, free: 7.395 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.5291, allocations: 11.94 kB / 1.476 GB, free: 7.383 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.5291, allocations: 4 kB / 1.476 GB, free: 7.379 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004352/0.5295, allocations: 216.1 kB / 1.476 GB, free: 7.168 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.5312, allocations: 1.167 MB / 1.477 GB, free: 5.926 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.5315, allocations: 169 kB / 1.477 GB, free: 5.715 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/0.5317, allocations: 108.2 kB / 1.477 GB, free: 5.594 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006177/0.5323, allocations: 99.88 kB / 1.478 GB, free: 5.496 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.5324, allocations: 38.69 kB / 1.478 GB, free: 5.449 MB / 1.17 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.5324, allocations: 0 / 1.478 GB, free: 5.449 MB / 1.17 GB Notification: Performance of matching and sorting (n=13): time 0.0007572/0.5331, allocations: 285.2 kB / 1.478 GB, free: 5.164 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.94e-05/0.5332, allocations: 162.2 kB / 1.478 GB, free: 4.969 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002983/0.5335, allocations: 284.2 kB / 1.478 GB, free: 4.684 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.5335, allocations: 29.7 kB / 1.478 GB, free: 4.648 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.5337, allocations: 151.9 kB / 1.478 GB, free: 4.496 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/0.5337, allocations: 40.14 kB / 1.478 GB, free: 4.457 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.161e-05/0.5338, allocations: 45.66 kB / 1.478 GB, free: 4.406 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.534, allocations: 342.8 kB / 1.479 GB, free: 4.062 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.5341, allocations: 71.88 kB / 1.479 GB, free: 3.992 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002984/0.5344, allocations: 249 kB / 1.479 GB, free: 3.695 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003886/0.5348, allocations: 215.5 kB / 1.479 GB, free: 3.457 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5348, allocations: 0 / 1.479 GB, free: 3.457 MB / 1.17 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005169/0.5353, allocations: 245.5 kB / 1.48 GB, free: 3.211 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.5353, allocations: 12.03 kB / 1.48 GB, free: 3.199 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.5354, allocations: 0 / 1.48 GB, free: 3.199 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.5354, allocations: 4 kB / 1.48 GB, free: 3.195 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.5356, allocations: 39.91 kB / 1.48 GB, free: 3.156 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.5356, allocations: 4 kB / 1.48 GB, free: 3.152 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.5358, allocations: 39.7 kB / 1.48 GB, free: 3.113 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/0.5358, allocations: 8 kB / 1.48 GB, free: 3.105 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.0001669/0.536, allocations: 153 kB / 1.48 GB, free: 2.949 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.5361, allocations: 23.86 kB / 1.48 GB, free: 2.926 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004922/0.5366, allocations: 197.7 kB / 1.48 GB, free: 2.711 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.5366, allocations: 4 kB / 1.48 GB, free: 2.707 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.5366, allocations: 7.938 kB / 1.48 GB, free: 2.699 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.5366, allocations: 3.938 kB / 1.48 GB, free: 2.695 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.5377, allocations: 0.7961 MB / 1.481 GB, free: 1.832 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.5377, allocations: 0 / 1.481 GB, free: 1.832 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.5379, allocations: 35.86 kB / 1.481 GB, free: 1.797 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.5379, allocations: 160 / 1.481 GB, free: 1.797 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.5379, allocations: 11.94 kB / 1.481 GB, free: 1.785 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.5379, allocations: 0 / 1.481 GB, free: 1.785 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/0.5379, allocations: 4 kB / 1.481 GB, free: 1.781 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006142/0.5385, allocations: 339.5 kB / 1.481 GB, free: 1.418 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 9.621e-05/0.5386, allocations: 39.75 kB / 1.481 GB, free: 1.379 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/0.5386, allocations: 3.984 kB / 1.481 GB, free: 1.375 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.5388, allocations: 16 kB / 1.481 GB, free: 1.359 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.5388, allocations: 11.98 kB / 1.481 GB, free: 1.348 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.5389, allocations: 4 kB / 1.481 GB, free: 1.344 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002688/0.5391, allocations: 239 kB / 1.481 GB, free: 1.113 MB / 1.17 GB Notification: Performance of sort global known variables: time 6e-08/0.5391, allocations: 0 / 1.481 GB, free: 1.113 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000518/0.5396, allocations: 95.81 kB / 1.482 GB, free: 1.02 MB / 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.001197/0.5408, allocations: 0.9739 MB / 1.483 GB, free: 4 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0004113/0.5412, allocations: 143.8 kB / 1.483 GB, free: 15.86 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5413, allocations: 0 / 1.483 GB, free: 15.86 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.5414, allocations: 60.53 kB / 1.483 GB, free: 15.8 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008061/0.5422, allocations: 145.2 kB / 1.483 GB, free: 15.66 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004003/0.5462, allocations: 2.771 MB / 1.486 GB, free: 12.73 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.5464, allocations: 146.2 kB / 1.486 GB, free: 12.57 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002236/0.5466, allocations: 62.88 kB / 1.486 GB, free: 12.51 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.5467, allocations: 75.41 kB / 1.486 GB, free: 12.44 MB / 1.186 GB Notification: Performance of SimCode: time 7.82e-07/0.5467, allocations: 0 / 1.486 GB, free: 12.44 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0432/0.5899, allocations: 9.654 MB / 1.495 GB, free: 3.023 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.37, allocations: 7.625 kB / 1.495 GB, free: 3.02 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: 17.55833259318024]