Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",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.000818/0.0008181, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005127/0.005127, allocations: 171.6 kB / 16.27 MB, free: 6.652 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.416/1.416, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.626/2.626, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003735, allocations: 12 kB / 0.8729 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6866/0.687, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1798/0.8668, allocations: 165 MB / 1.184 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008356/0.8752, allocations: 7.114 MB / 1.191 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000484/0.8757, allocations: 15.88 kB / 1.191 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000508/0.8763, allocations: 123.1 kB / 1.191 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002897/0.8792, allocations: 1.191 MB / 1.193 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001528/0.8807, allocations: 0.5856 MB / 1.193 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001133/0.8819, allocations: 1.057 MB / 1.194 GB, free: 104 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004643/0.8823, allocations: 232 kB / 1.194 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.8835, allocations: 0.5253 MB / 1.195 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007971/0.8843, allocations: 414.6 kB / 1.195 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.227e-05/0.8844, allocations: 12 kB / 1.195 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002296/0.8867, allocations: 1.469 MB / 1.197 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.8868, allocations: 111.6 kB / 1.197 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.887, allocations: 192.8 kB / 1.197 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.8886, allocations: 0.9698 MB / 1.198 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.8886, allocations: 4 kB / 1.198 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.402e-06/0.8886, allocations: 0 / 1.198 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.8886, allocations: 0 / 1.198 GB, free: 12.18 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009826/0.8896, allocations: 0.6311 MB / 1.199 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.8897, allocations: 12.03 kB / 1.199 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.956e-05/0.8898, allocations: 62.53 kB / 1.199 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.8908, allocations: 131.4 kB / 1.199 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004109/0.8912, allocations: 325.1 kB / 1.199 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.122e-05/0.8913, allocations: 54.27 kB / 1.199 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.495e-05/0.8914, allocations: 24 kB / 1.199 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006433/0.892, allocations: 374.2 kB / 1.2 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.892, allocations: 3.938 kB / 1.2 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/0.8921, allocations: 19.92 kB / 1.2 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.8921, allocations: 11.94 kB / 1.2 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000531/0.8926, allocations: 282 kB / 1.2 GB, free: 10.16 MB / 0.9512 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.8944, allocations: 1.492 MB / 1.201 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004007/0.8948, allocations: 206.5 kB / 1.201 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.8951, allocations: 134.8 kB / 1.202 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009452/0.896, allocations: 0.5092 MB / 1.202 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.8961, allocations: 38.55 kB / 1.202 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.8961, allocations: 4 kB / 1.202 GB, free: 7.543 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0009253/0.897, allocations: 369 kB / 1.202 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.8971, allocations: 51.41 kB / 1.203 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/0.8974, allocations: 320.5 kB / 1.203 GB, free: 6.789 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.8974, allocations: 29.7 kB / 1.203 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.8975, allocations: 192 kB / 1.203 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.492e-05/0.8976, allocations: 47.36 kB / 1.203 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.8976, allocations: 17.72 kB / 1.203 GB, free: 6.492 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.8978, allocations: 342.8 kB / 1.203 GB, free: 6.148 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.898, allocations: 91.92 kB / 1.204 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.8982, allocations: 156.1 kB / 1.204 GB, free: 5.887 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004483/0.8987, allocations: 245.8 kB / 1.204 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.8987, allocations: 3.938 kB / 1.204 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000629/0.8993, allocations: 298.2 kB / 1.204 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.8994, allocations: 4 kB / 1.204 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.8994, allocations: 4 kB / 1.204 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.8994, allocations: 0 / 1.204 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.8996, allocations: 51.91 kB / 1.204 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.8996, allocations: 4 kB / 1.204 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.8999, allocations: 39.8 kB / 1.204 GB, free: 5.223 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/0.8999, allocations: 15.98 kB / 1.204 GB, free: 5.207 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001491/0.9001, allocations: 157.7 kB / 1.204 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.9002, allocations: 27.62 kB / 1.204 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007069/0.9009, allocations: 329.2 kB / 1.205 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.9009, allocations: 4 kB / 1.205 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.9009, allocations: 0 / 1.205 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.9009, allocations: 0 / 1.205 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.9022, allocations: 0.8239 MB / 1.206 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.9022, allocations: 0 / 1.206 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.9024, allocations: 39.97 kB / 1.206 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.9024, allocations: 7.938 kB / 1.206 GB, free: 3.738 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.9025, allocations: 11.94 kB / 1.206 GB, free: 3.727 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.9025, allocations: 4 kB / 1.206 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.9025, allocations: 4 kB / 1.206 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006124/0.9031, allocations: 405.2 kB / 1.206 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.9032, allocations: 140.6 kB / 1.206 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.334e-05/0.9033, allocations: 8 kB / 1.206 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.9036, allocations: 23.98 kB / 1.206 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.9036, allocations: 19.97 kB / 1.206 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.9037, allocations: 8 kB / 1.206 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002078/0.9039, allocations: 227 kB / 1.206 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9039, allocations: 0 / 1.206 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005072/0.9044, allocations: 123.8 kB / 1.207 GB, free: 2.73 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (16): * Single equations (assignments): 16 * 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.001282/0.9057, allocations: 1.074 MB / 1.208 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004943/0.9062, allocations: 227.7 kB / 1.208 GB, free: 1.395 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.9062, allocations: 0 / 1.208 GB, free: 1.395 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002366/0.9064, allocations: 132.5 kB / 1.208 GB, free: 1.266 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009857/0.9074, allocations: 154.7 kB / 1.208 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003919/0.9114, allocations: 3.189 MB / 1.211 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.9117, allocations: 0.7836 MB / 1.212 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003143/0.912, allocations: 82.92 kB / 1.212 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.9122, allocations: 103.4 kB / 1.212 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of SimCode: time 3.61e-07/0.9122, allocations: 3.938 kB / 1.212 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0361/0.9483, allocations: 9.887 MB / 1.222 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/0.9486, allocations: 240 kB / 1.222 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.099/3.048, allocations: 4.062 kB / 1.222 GB, free: 2.832 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches