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.0009773/0.0009773, allocations: 76.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.00105/0.00105, allocations: 173.2 kB / 22.46 MB, free: 2.098 MB / 18.57 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 0.8571/0.8571, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.681/1.681, allocations: 377.9 MB / 0.6221 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 5.03e-06/5.03e-06, allocations: 0 / 0.981 GB, free: 1.426 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.598e-05, allocations: 2.281 kB / 0.981 GB, free: 1.422 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.5651/0.5651, allocations: 143.9 MB / 1.121 GB, free: 1.703 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003981/0.5691, allocations: 4.215 MB / 1.126 GB, free: 14.89 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003307/0.5694, allocations: 14.25 kB / 1.126 GB, free: 14.89 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0003999/0.5698, allocations: 128.6 kB / 1.126 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.5711, allocations: 0.5775 MB / 1.126 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.5726, allocations: 0.828 MB / 1.127 GB, free: 14.1 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0006589/0.5733, allocations: 0.5788 MB / 1.128 GB, free: 13.83 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003075/0.5736, allocations: 164 kB / 1.128 GB, free: 13.76 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001323/0.5749, allocations: 0.7502 MB / 1.129 GB, free: 13.42 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000614/0.5755, allocations: 281.6 kB / 1.129 GB, free: 13.33 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 4.335e-05/0.5756, allocations: 17.84 kB / 1.129 GB, free: 13.33 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001559/0.5772, allocations: 0.8658 MB / 1.13 GB, free: 12.87 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.5773, allocations: 94.55 kB / 1.13 GB, free: 12.81 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.5774, allocations: 89.8 kB / 1.13 GB, free: 12.77 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.5786, allocations: 0.7342 MB / 1.131 GB, free: 12.32 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.351e-06/0.5786, allocations: 0 / 1.131 GB, free: 12.32 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.505e-06/0.5786, allocations: 0 / 1.131 GB, free: 12.32 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.5786, allocations: 1.406 kB / 1.131 GB, free: 12.32 MB / 0.9792 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.001021/0.5796, allocations: 0.5246 MB / 1.131 GB, free: 11.87 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.5796, allocations: 9.938 kB / 1.131 GB, free: 11.87 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.735e-05/0.5797, allocations: 53.7 kB / 1.131 GB, free: 11.81 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000424/0.5801, allocations: 79.88 kB / 1.131 GB, free: 11.77 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.5805, allocations: 235.3 kB / 1.131 GB, free: 11.57 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.5805, allocations: 13.03 kB / 1.131 GB, free: 11.56 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.5805, allocations: 21.91 kB / 1.131 GB, free: 11.55 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003883/0.5809, allocations: 289.6 kB / 1.132 GB, free: 11.34 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.5809, allocations: 5.406 kB / 1.132 GB, free: 11.34 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.5809, allocations: 5.688 kB / 1.132 GB, free: 11.34 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.581, allocations: 9.344 kB / 1.132 GB, free: 11.33 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002832/0.5812, allocations: 201.1 kB / 1.132 GB, free: 11.24 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.5824, allocations: 1.163 MB / 1.133 GB, free: 10.2 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.5826, allocations: 174.4 kB / 1.133 GB, free: 10.03 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.5827, allocations: 114.7 kB / 1.133 GB, free: 9.945 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003658/0.5831, allocations: 99.53 kB / 1.133 GB, free: 9.906 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.5831, allocations: 47.86 kB / 1.134 GB, free: 9.855 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=13): time 1.724e-06/0.5831, allocations: 0 / 1.134 GB, free: 9.855 MB / 0.9792 GB Notification: Performance of matching and sorting (n=13): time 0.0005143/0.5836, allocations: 276.7 kB / 1.134 GB, free: 9.707 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.5837, allocations: 162.2 kB / 1.134 GB, free: 9.516 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.5839, allocations: 293 kB / 1.134 GB, free: 9.32 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.5839, allocations: 31.05 kB / 1.134 GB, free: 9.285 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 8.585e-05/0.584, allocations: 140.9 kB / 1.134 GB, free: 9.156 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.5841, allocations: 57.08 kB / 1.134 GB, free: 9.105 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-05/0.5841, allocations: 41.14 kB / 1.134 GB, free: 9.074 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.824e-05/0.5842, allocations: 338.4 kB / 1.135 GB, free: 8.742 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.5843, allocations: 67.72 kB / 1.135 GB, free: 8.711 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.5845, allocations: 250.6 kB / 1.135 GB, free: 8.465 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.5847, allocations: 213.5 kB / 1.135 GB, free: 8.312 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5847, allocations: 0 / 1.135 GB, free: 8.312 MB / 0.9792 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003295/0.5851, allocations: 247.2 kB / 1.136 GB, free: 8.176 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.5851, allocations: 6.344 kB / 1.136 GB, free: 8.176 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.5851, allocations: 2.812 kB / 1.136 GB, free: 8.176 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.5851, allocations: 2.625 kB / 1.136 GB, free: 8.176 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.5852, allocations: 36.77 kB / 1.136 GB, free: 8.168 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.5852, allocations: 10.62 kB / 1.136 GB, free: 8.16 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.5853, allocations: 30.86 kB / 1.136 GB, free: 8.141 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.5854, allocations: 10.06 kB / 1.136 GB, free: 8.141 MB / 0.9792 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.0001028/0.5855, allocations: 159.2 kB / 1.136 GB, free: 7.992 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.453e-05/0.5855, allocations: 29.06 kB / 1.136 GB, free: 7.977 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002988/0.5858, allocations: 188.9 kB / 1.136 GB, free: 7.832 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5858, allocations: 2.312 kB / 1.136 GB, free: 7.832 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5859, allocations: 2.344 kB / 1.136 GB, free: 7.832 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5859, allocations: 1.156 kB / 1.136 GB, free: 7.832 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006503/0.5865, allocations: 0.8096 MB / 1.137 GB, free: 7.082 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.5865, allocations: 1.344 kB / 1.137 GB, free: 7.082 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.232e-05/0.5866, allocations: 24.75 kB / 1.137 GB, free: 7.074 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.5866, allocations: 6.375 kB / 1.137 GB, free: 7.07 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.5866, allocations: 6.5 kB / 1.137 GB, free: 7.066 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.5866, allocations: 6.281 kB / 1.137 GB, free: 7.062 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.5866, allocations: 5.156 kB / 1.137 GB, free: 7.059 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/0.587, allocations: 332.9 kB / 1.137 GB, free: 6.801 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-05/0.587, allocations: 34.41 kB / 1.137 GB, free: 6.777 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.587, allocations: 4.719 kB / 1.137 GB, free: 6.777 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.958e-05/0.5871, allocations: 12.67 kB / 1.137 GB, free: 6.77 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.5871, allocations: 12.36 kB / 1.137 GB, free: 6.762 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.5872, allocations: 4.219 kB / 1.137 GB, free: 6.762 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001603/0.5873, allocations: 238.1 kB / 1.137 GB, free: 6.609 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.5873, allocations: 0 / 1.137 GB, free: 6.609 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003994/0.5877, allocations: 104.1 kB / 1.138 GB, free: 6.582 MB / 0.9792 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.0007915/0.5885, allocations: 0.9769 MB / 1.139 GB, free: 5.738 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002544/0.5888, allocations: 150.2 kB / 1.139 GB, free: 5.672 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5888, allocations: 0 / 1.139 GB, free: 5.672 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 8.134e-05/0.5888, allocations: 56.5 kB / 1.139 GB, free: 5.648 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.5893, allocations: 141.7 kB / 1.139 GB, free: 5.578 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.5917, allocations: 2.736 MB / 1.142 GB, free: 3.473 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.5919, allocations: 154.4 kB / 1.142 GB, free: 3.355 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001647/0.592, allocations: 74.78 kB / 1.142 GB, free: 3.32 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.902e-05/0.5921, allocations: 71.61 kB / 1.142 GB, free: 3.266 MB / 0.9792 GB Notification: Performance of SimCode: time 8.02e-07/0.5921, allocations: 0 / 1.142 GB, free: 3.266 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/0.6173, allocations: 9.791 MB / 1.151 GB, free: 14.15 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.628/7.245, allocations: 9.75 kB / 1.151 GB, free: 14.15 MB / 0.9948 GB " [Timeout remaining time 293] (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/jenkins/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: 11.111323162913322]