Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.EntropyFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_9_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.005829/0.005828, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.002112/0.002113, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.238/1.238, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.16/2.16, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 71.89 kB / 0.9504 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.75/0.7513, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.195/0.9464, allocations: 169.4 MB / 1.253 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00884/0.9553, allocations: 7.13 MB / 1.26 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006003/0.9559, allocations: 11.94 kB / 1.26 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005709/0.9565, allocations: 170.7 kB / 1.26 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003207/0.9597, allocations: 1.26 MB / 1.261 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.9614, allocations: 0.6387 MB / 1.262 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008817/0.9623, allocations: 0.7601 MB / 1.263 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000441/0.9628, allocations: 295.2 kB / 1.263 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.9639, allocations: 0.5682 MB / 1.264 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007767/0.9647, allocations: 422.5 kB / 1.264 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.808e-05/0.9647, allocations: 28 kB / 1.264 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002088/0.9668, allocations: 1.243 MB / 1.265 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.967, allocations: 119.7 kB / 1.265 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.9672, allocations: 179.1 kB / 1.265 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.9685, allocations: 0.9038 MB / 1.266 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.9685, allocations: 0 / 1.266 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9686, allocations: 0 / 1.266 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.9686, allocations: 3.938 kB / 1.266 GB, free: 6.59 MB / 0.9981 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.0009771/0.9696, allocations: 0.6935 MB / 1.267 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.9696, allocations: 8.031 kB / 1.267 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.52e-05/0.9697, allocations: 62.55 kB / 1.267 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.9707, allocations: 131.3 kB / 1.267 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005585/0.9713, allocations: 345.1 kB / 1.268 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.399e-05/0.9714, allocations: 50.27 kB / 1.268 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.045e-05/0.9714, allocations: 24 kB / 1.268 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006509/0.9721, allocations: 378 kB / 1.268 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.9721, allocations: 0 / 1.268 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/0.9721, allocations: 12 kB / 1.268 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.9722, allocations: 8 kB / 1.268 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005541/0.9727, allocations: 270 kB / 1.268 GB, free: 4.508 MB / 0.9981 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.001889/0.9746, allocations: 1.492 MB / 1.27 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004061/0.975, allocations: 190.6 kB / 1.27 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.9753, allocations: 112.8 kB / 1.27 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009868/0.9763, allocations: 0.513 MB / 1.27 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.9763, allocations: 34.56 kB / 1.271 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 2.064e-06/0.9763, allocations: 0 / 1.271 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.00104/0.9774, allocations: 364 kB / 1.271 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.9774, allocations: 51.41 kB / 1.271 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/0.9777, allocations: 312.5 kB / 1.271 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.9778, allocations: 33.7 kB / 1.271 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.9779, allocations: 184 kB / 1.271 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.978, allocations: 55.27 kB / 1.271 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.181e-05/0.9781, allocations: 41.7 kB / 1.272 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.9782, allocations: 346.7 kB / 1.272 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.9784, allocations: 79.94 kB / 1.272 GB, free: 460 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.9787, allocations: 155.6 kB / 1.272 GB, free: 284 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004302/0.9791, allocations: 240.3 kB / 1.272 GB, free: 24 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.9791, allocations: 0 / 1.272 GB, free: 24 kB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006078/0.9797, allocations: 281.1 kB / 1.273 GB, free: 15.74 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.9797, allocations: 4 kB / 1.273 GB, free: 15.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.9798, allocations: 7.984 kB / 1.273 GB, free: 15.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.9798, allocations: 192 / 1.273 GB, free: 15.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.98, allocations: 47.92 kB / 1.273 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.98, allocations: 4 kB / 1.273 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.9803, allocations: 27.67 kB / 1.273 GB, free: 15.65 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/0.9803, allocations: 16 kB / 1.273 GB, free: 15.63 MB / 1.014 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.0001852/0.9805, allocations: 154.2 kB / 1.273 GB, free: 15.47 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.9806, allocations: 31.66 kB / 1.273 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007238/0.9814, allocations: 320 kB / 1.273 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.9814, allocations: 4 kB / 1.273 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.9814, allocations: 0 / 1.273 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.9814, allocations: 0 / 1.273 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.9827, allocations: 0.8044 MB / 1.274 GB, free: 14.24 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.9827, allocations: 0 / 1.274 GB, free: 14.24 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.9829, allocations: 39.91 kB / 1.274 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.455e-06/0.983, allocations: 7.938 kB / 1.274 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.983, allocations: 8.219 kB / 1.274 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.983, allocations: 4 kB / 1.274 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.983, allocations: 4 kB / 1.274 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006321/0.9836, allocations: 396.9 kB / 1.274 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.9838, allocations: 136.7 kB / 1.275 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/0.9839, allocations: 7.938 kB / 1.275 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.9841, allocations: 15.98 kB / 1.275 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.9842, allocations: 24.02 kB / 1.275 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/0.9842, allocations: 11.94 kB / 1.275 GB, free: 13.54 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002421/0.9845, allocations: 227 kB / 1.275 GB, free: 13.32 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9845, allocations: 0 / 1.275 GB, free: 13.32 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005549/0.985, allocations: 123.8 kB / 1.275 GB, free: 13.2 MB / 1.014 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.001377/0.9864, allocations: 1.056 MB / 1.276 GB, free: 12.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005133/0.9869, allocations: 219.7 kB / 1.276 GB, free: 11.89 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.987, allocations: 3.938 kB / 1.276 GB, free: 11.88 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000236/0.9872, allocations: 124.6 kB / 1.276 GB, free: 11.76 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008632/0.9881, allocations: 155.7 kB / 1.276 GB, free: 11.61 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004109/0.9922, allocations: 3.052 MB / 1.279 GB, free: 8.398 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004574/0.9927, allocations: 0.7873 MB / 1.28 GB, free: 7.586 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003134/0.993, allocations: 86.86 kB / 1.28 GB, free: 7.504 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.9932, allocations: 95.41 kB / 1.28 GB, free: 7.41 MB / 1.014 GB Notification: Performance of SimCode: time 1.182e-06/0.9932, allocations: 4 kB / 1.28 GB, free: 7.406 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03256/1.026, allocations: 10.5 MB / 1.291 GB, free: 13.09 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.994/9.019, allocations: 6.328 kB / 1.291 GB, free: 13.08 MB / 1.029 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches