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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001331/0.001331, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001419/0.001419, allocations: 195.7 kB / 16.14 MB, free: 6.648 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.349/1.349, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.61/2.61, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 63.91 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6839/0.6861, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1806/0.8667, allocations: 161 MB / 1.174 GB, free: 1.188 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005769/0.8725, allocations: 4.638 MB / 1.178 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002878/0.8728, allocations: 11.88 kB / 1.178 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004611/0.8734, allocations: 99.36 kB / 1.179 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00128/0.8746, allocations: 0.5097 MB / 1.179 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.8761, allocations: 0.701 MB / 1.18 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001138/0.8772, allocations: 0.8107 MB / 1.181 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002801/0.8775, allocations: 177.5 kB / 1.181 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.8786, allocations: 426.4 kB / 1.181 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006491/0.8793, allocations: 302.9 kB / 1.181 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.8793, allocations: 12 kB / 1.181 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001701/0.881, allocations: 1.165 MB / 1.183 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.667e-05/0.8811, allocations: 83.78 kB / 1.183 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002199/0.8813, allocations: 127.3 kB / 1.183 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.8826, allocations: 0.7635 MB / 1.184 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.8826, allocations: 4 kB / 1.184 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.11e-07/0.8826, allocations: 0 / 1.184 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5e-06/0.8826, allocations: 0 / 1.184 GB, free: 7.352 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.001075/0.8837, allocations: 0.5957 MB / 1.184 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.8837, allocations: 8.031 kB / 1.184 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.074e-05/0.8838, allocations: 50.55 kB / 1.184 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006531/0.8845, allocations: 75.59 kB / 1.184 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.8848, allocations: 287.3 kB / 1.184 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.8848, allocations: 16 kB / 1.185 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-05/0.8849, allocations: 20 kB / 1.185 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004914/0.8854, allocations: 287.4 kB / 1.185 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.8854, allocations: 0 / 1.185 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.8854, allocations: 15.88 kB / 1.185 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.8855, allocations: 8 kB / 1.185 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000438/0.8859, allocations: 207.5 kB / 1.185 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.8877, allocations: 1.238 MB / 1.186 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.888, allocations: 184.9 kB / 1.186 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.8882, allocations: 112.2 kB / 1.187 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008606/0.8891, allocations: 331.2 kB / 1.187 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.8891, allocations: 46.69 kB / 1.187 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.8891, allocations: 0 / 1.187 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0007398/0.8899, allocations: 277 kB / 1.187 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.89, allocations: 158.2 kB / 1.187 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.8902, allocations: 291.5 kB / 1.188 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.8903, allocations: 29.7 kB / 1.188 GB, free: 2.781 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.8904, allocations: 147.9 kB / 1.188 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.496e-05/0.8905, allocations: 43.3 kB / 1.188 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.331e-05/0.8906, allocations: 45.7 kB / 1.188 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002148/0.8908, allocations: 338.8 kB / 1.188 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.8909, allocations: 67.94 kB / 1.188 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.8912, allocations: 146.3 kB / 1.188 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003735/0.8916, allocations: 219.5 kB / 1.189 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.8916, allocations: 4 kB / 1.189 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006266/0.8922, allocations: 241.1 kB / 1.189 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.8922, allocations: 8 kB / 1.189 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.8922, allocations: 3.984 kB / 1.189 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.8923, allocations: 4 kB / 1.189 GB, free: 1.457 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.8925, allocations: 35.92 kB / 1.189 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.8925, allocations: 4 kB / 1.189 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.8927, allocations: 36.02 kB / 1.189 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.8927, allocations: 8 kB / 1.189 GB, free: 1.375 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.0001331/0.8929, allocations: 157.7 kB / 1.189 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.893, allocations: 27.62 kB / 1.189 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004724/0.8935, allocations: 193.7 kB / 1.189 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.8935, allocations: 384 / 1.189 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.8935, allocations: 7.938 kB / 1.189 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.8935, allocations: 3.938 kB / 1.189 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009484/0.8945, allocations: 0.8472 MB / 1.19 GB, free: 44 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.8945, allocations: 3.938 kB / 1.19 GB, free: 40 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.8946, allocations: 32.02 kB / 1.19 GB, free: 8 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.8947, allocations: 4 kB / 1.19 GB, free: 4 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.8947, allocations: 4 kB / 1.19 GB, free: 0 / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.8947, allocations: 0 / 1.19 GB, free: 0 / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-05/0.8947, allocations: 4.047 kB / 1.19 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000655/0.8954, allocations: 339.5 kB / 1.19 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/0.8956, allocations: 120.7 kB / 1.191 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/0.8956, allocations: 7.906 kB / 1.191 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.8958, allocations: 11.98 kB / 1.191 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.8958, allocations: 12.05 kB / 1.191 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.8959, allocations: 4 kB / 1.191 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002228/0.8961, allocations: 237.9 kB / 1.191 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8961, allocations: 0 / 1.191 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004307/0.8965, allocations: 99.92 kB / 1.191 GB, free: 15.13 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.001248/0.8978, allocations: 0.9785 MB / 1.192 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003965/0.8982, allocations: 152.4 kB / 1.192 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.8982, allocations: 8 kB / 1.192 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.8984, allocations: 55.91 kB / 1.192 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007539/0.8991, allocations: 124.8 kB / 1.192 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003698/0.9028, allocations: 2.814 MB / 1.195 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.9032, allocations: 0.7599 MB / 1.196 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001984/0.9034, allocations: 62.89 kB / 1.196 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.9035, allocations: 75.41 kB / 1.196 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of SimCode: time 3.11e-07/0.9035, allocations: 0 / 1.196 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03856/0.942, allocations: 8.209 MB / 1.204 GB, free: 1.848 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003462/0.9424, allocations: 242.1 kB / 1.204 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.146/3.088, allocations: 4 kB / 1.204 GB, free: 1.59 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