Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_9_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.001675/0.001675, 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.002171/0.002171, allocations: 195 kB / 16.26 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.401/1.401, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.398/2.398, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 64.08 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6079/0.6093, allocations: 140.4 MB / 0.9492 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1495/0.7588, allocations: 161 MB / 1.106 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004784/0.7636, allocations: 4.553 MB / 1.111 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003032/0.7639, allocations: 11.88 kB / 1.111 GB, free: 12 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003913/0.7644, allocations: 107.3 kB / 1.111 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.7656, allocations: 0.5058 MB / 1.112 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.7673, allocations: 0.7122 MB / 1.112 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0006479/0.7679, allocations: 0.5806 MB / 1.113 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003041/0.7682, allocations: 197.1 kB / 1.113 GB, free: 9.898 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008635/0.7691, allocations: 462.4 kB / 1.113 GB, free: 9.445 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005319/0.7696, allocations: 302.9 kB / 1.114 GB, free: 9.148 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.702e-05/0.7697, allocations: 16 kB / 1.114 GB, free: 9.133 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.7711, allocations: 1.048 MB / 1.115 GB, free: 8.082 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.7712, allocations: 87.77 kB / 1.115 GB, free: 7.996 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.7714, allocations: 127.3 kB / 1.115 GB, free: 7.871 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.7724, allocations: 0.7674 MB / 1.116 GB, free: 7.102 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.7724, allocations: 0 / 1.116 GB, free: 7.102 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.233e-06/0.7724, allocations: 0 / 1.116 GB, free: 7.102 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.7724, allocations: 0 / 1.116 GB, free: 7.102 MB / 0.8731 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.0008502/0.7733, allocations: 0.588 MB / 1.116 GB, free: 6.465 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.7733, allocations: 8.031 kB / 1.116 GB, free: 6.457 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.871e-05/0.7734, allocations: 54.55 kB / 1.116 GB, free: 6.395 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006454/0.774, allocations: 79.58 kB / 1.116 GB, free: 6.316 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.7744, allocations: 295.2 kB / 1.117 GB, free: 5.988 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.7745, allocations: 16 kB / 1.117 GB, free: 5.973 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.587e-05/0.7745, allocations: 16 kB / 1.117 GB, free: 5.957 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004601/0.775, allocations: 283.4 kB / 1.117 GB, free: 5.652 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.775, allocations: 7.984 kB / 1.117 GB, free: 5.645 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.775, allocations: 15.94 kB / 1.117 GB, free: 5.629 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.775, allocations: 4 kB / 1.117 GB, free: 5.625 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004022/0.7754, allocations: 195.8 kB / 1.117 GB, free: 5.434 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.7769, allocations: 1.253 MB / 1.118 GB, free: 4.098 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.7772, allocations: 169 kB / 1.119 GB, free: 3.887 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.7774, allocations: 108.4 kB / 1.119 GB, free: 3.766 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007162/0.7781, allocations: 343.1 kB / 1.119 GB, free: 3.375 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.7781, allocations: 30.56 kB / 1.119 GB, free: 3.336 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.7782, allocations: 4 kB / 1.119 GB, free: 3.332 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.0007178/0.7789, allocations: 285.3 kB / 1.119 GB, free: 3.047 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.7789, allocations: 158.2 kB / 1.119 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.7792, allocations: 283.5 kB / 1.12 GB, free: 2.566 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.7792, allocations: 25.7 kB / 1.12 GB, free: 2.535 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.773e-05/0.7793, allocations: 155.8 kB / 1.12 GB, free: 2.379 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.7794, allocations: 47.36 kB / 1.12 GB, free: 2.332 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.16e-05/0.7795, allocations: 41.7 kB / 1.12 GB, free: 2.285 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.7796, allocations: 338.8 kB / 1.12 GB, free: 1.945 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.7797, allocations: 71.88 kB / 1.12 GB, free: 1.875 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.78, allocations: 146.7 kB / 1.121 GB, free: 1.703 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.7803, allocations: 211.5 kB / 1.121 GB, free: 1.469 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.7803, allocations: 0 / 1.121 GB, free: 1.469 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004762/0.7808, allocations: 253.1 kB / 1.121 GB, free: 1.215 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.7808, allocations: 4 kB / 1.121 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.7808, allocations: 4 kB / 1.121 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.7809, allocations: 4 kB / 1.121 GB, free: 1.203 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.781, allocations: 39.91 kB / 1.121 GB, free: 1.164 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.7811, allocations: 8 kB / 1.121 GB, free: 1.156 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.7813, allocations: 35.92 kB / 1.121 GB, free: 1.121 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/0.7813, allocations: 12 kB / 1.121 GB, free: 1.109 MB / 0.8731 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.0001226/0.7814, allocations: 149.7 kB / 1.121 GB, free: 0.9531 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.7816, allocations: 23.72 kB / 1.121 GB, free: 0.9297 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004289/0.782, allocations: 197.7 kB / 1.121 GB, free: 0.7227 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.782, allocations: 4 kB / 1.121 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.782, allocations: 0 / 1.121 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.782, allocations: 7.938 kB / 1.121 GB, free: 0.7109 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008607/0.7829, allocations: 0.8433 MB / 1.122 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.7829, allocations: 7.938 kB / 1.122 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.783, allocations: 27.86 kB / 1.122 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.783, allocations: 4.156 kB / 1.122 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.7831, allocations: 4 kB / 1.122 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.7831, allocations: 8.078 kB / 1.122 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.7831, allocations: 3.938 kB / 1.122 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000507/0.7836, allocations: 335.4 kB / 1.123 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-05/0.7837, allocations: 120.7 kB / 1.123 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/0.7838, allocations: 4 kB / 1.123 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.7839, allocations: 11.98 kB / 1.123 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.784, allocations: 16.12 kB / 1.123 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.784, allocations: 8 kB / 1.123 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002223/0.7842, allocations: 233.9 kB / 1.123 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7842, allocations: 0 / 1.123 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004233/0.7846, allocations: 99.83 kB / 1.123 GB, free: 14.88 MB / 0.8887 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.001175/0.7858, allocations: 0.9796 MB / 1.124 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003685/0.7862, allocations: 151.7 kB / 1.124 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7862, allocations: 0.5 kB / 1.124 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.7864, allocations: 67.89 kB / 1.124 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000738/0.7871, allocations: 136.4 kB / 1.124 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/0.7903, allocations: 2.824 MB / 1.127 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.7906, allocations: 0.7558 MB / 1.128 GB, free: 9.758 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001994/0.7908, allocations: 62.94 kB / 1.128 GB, free: 9.699 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.791, allocations: 79.41 kB / 1.128 GB, free: 9.621 MB / 0.8887 GB Notification: Performance of SimCode: time 2.3e-07/0.791, allocations: 0 / 1.128 GB, free: 9.621 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.004/5.795, allocations: 8.388 MB / 1.136 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/5.795, allocations: 238.4 kB / 1.136 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.463/9.259, allocations: 0 / 1.136 GB, free: 1.16 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches