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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001264/0.001264, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001316/0.001316, allocations: 196.8 kB / 16.14 MB, free: 6.719 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.418/1.418, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.294/2.294, allocations: 390.2 MB / 0.6643 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 59.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6884/0.6897, allocations: 140.4 MB / 0.949 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1603/0.8501, allocations: 167.2 MB / 1.112 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008213/0.8584, allocations: 7.211 MB / 1.119 GB, free: 3.039 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004474/0.8589, allocations: 7.938 kB / 1.119 GB, free: 3.031 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000582/0.8595, allocations: 139.1 kB / 1.12 GB, free: 2.895 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002863/0.8624, allocations: 1.191 MB / 1.121 GB, free: 1.699 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.8638, allocations: 0.5699 MB / 1.121 GB, free: 1.133 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001043/0.8649, allocations: 1.057 MB / 1.122 GB, free: 76 kB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004419/0.8654, allocations: 242.1 kB / 1.122 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.8665, allocations: 0.537 MB / 1.123 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007904/0.8673, allocations: 426.6 kB / 1.123 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.579e-05/0.8673, allocations: 20 kB / 1.123 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002081/0.8694, allocations: 1.465 MB / 1.125 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.8696, allocations: 115.6 kB / 1.125 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002083/0.8698, allocations: 171.1 kB / 1.125 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.8713, allocations: 0.9778 MB / 1.126 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.8713, allocations: 0 / 1.126 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of FrontEnd: time 8.82e-07/0.8713, allocations: 0 / 1.126 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.159e-05/0.8713, allocations: 4 kB / 1.126 GB, free: 12.12 MB / 0.8887 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.001049/0.8724, allocations: 0.6935 MB / 1.127 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.8724, allocations: 8.031 kB / 1.127 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.427e-05/0.8725, allocations: 66.53 kB / 1.127 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.8736, allocations: 127.4 kB / 1.127 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004107/0.874, allocations: 325.1 kB / 1.127 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.315e-05/0.8741, allocations: 46.27 kB / 1.127 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.702e-05/0.8741, allocations: 31.94 kB / 1.127 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006321/0.8748, allocations: 370.1 kB / 1.128 GB, free: 10.35 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.8748, allocations: 0 / 1.128 GB, free: 10.35 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.575e-05/0.8748, allocations: 19.97 kB / 1.128 GB, free: 10.33 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.8748, allocations: 4 kB / 1.128 GB, free: 10.33 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005218/0.8754, allocations: 278 kB / 1.128 GB, free: 10.05 MB / 0.8887 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.001763/0.8771, allocations: 1.488 MB / 1.129 GB, free: 8.441 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003813/0.8775, allocations: 194.6 kB / 1.13 GB, free: 8.242 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.8778, allocations: 116.8 kB / 1.13 GB, free: 8.125 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009882/0.8788, allocations: 0.5014 MB / 1.13 GB, free: 7.531 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.8788, allocations: 42.48 kB / 1.13 GB, free: 7.48 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.8788, allocations: 4 kB / 1.13 GB, free: 7.477 MB / 0.8887 GB Notification: Performance of matching and sorting (n=15): time 0.0009257/0.8797, allocations: 354.3 kB / 1.131 GB, free: 7.125 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.8798, allocations: 51.41 kB / 1.131 GB, free: 7.062 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.8801, allocations: 312.5 kB / 1.131 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.8801, allocations: 29.7 kB / 1.131 GB, free: 6.715 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.8802, allocations: 199.9 kB / 1.131 GB, free: 6.516 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.8803, allocations: 43.36 kB / 1.131 GB, free: 6.473 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.09e-05/0.8804, allocations: 49.61 kB / 1.131 GB, free: 6.418 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.8805, allocations: 342.8 kB / 1.132 GB, free: 6.074 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.8807, allocations: 83.92 kB / 1.132 GB, free: 5.992 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.8809, allocations: 147.2 kB / 1.132 GB, free: 5.828 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/0.8813, allocations: 241.1 kB / 1.132 GB, free: 5.574 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.8813, allocations: 0 / 1.132 GB, free: 5.574 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005674/0.8819, allocations: 281.1 kB / 1.132 GB, free: 5.293 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.8819, allocations: 7.938 kB / 1.132 GB, free: 5.285 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.8819, allocations: 192 / 1.132 GB, free: 5.285 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.882, allocations: 8 kB / 1.132 GB, free: 5.277 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.8822, allocations: 47.97 kB / 1.132 GB, free: 5.23 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.8822, allocations: 4 kB / 1.132 GB, free: 5.227 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.8824, allocations: 31.67 kB / 1.132 GB, free: 5.195 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.578e-05/0.8825, allocations: 16 kB / 1.132 GB, free: 5.18 MB / 0.8887 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.0001411/0.8826, allocations: 157.6 kB / 1.133 GB, free: 5.016 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.8827, allocations: 35.61 kB / 1.133 GB, free: 4.98 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006801/0.8834, allocations: 309.8 kB / 1.133 GB, free: 4.672 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.8834, allocations: 4 kB / 1.133 GB, free: 4.668 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.8835, allocations: 0 / 1.133 GB, free: 4.668 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.8835, allocations: 0 / 1.133 GB, free: 4.668 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.8847, allocations: 0.8083 MB / 1.134 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.8847, allocations: 8.062 kB / 1.134 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.8849, allocations: 35.92 kB / 1.134 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.8849, allocations: 3.938 kB / 1.134 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.8849, allocations: 11.98 kB / 1.134 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.8849, allocations: 4 kB / 1.134 GB, free: 3.719 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.885, allocations: 7.938 kB / 1.134 GB, free: 3.711 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005645/0.8855, allocations: 393 kB / 1.134 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.8857, allocations: 128.8 kB / 1.134 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.192e-05/0.8857, allocations: 15.92 kB / 1.134 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.886, allocations: 19.98 kB / 1.134 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/0.886, allocations: 15.92 kB / 1.134 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/0.8861, allocations: 11.98 kB / 1.134 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000199/0.8863, allocations: 223.1 kB / 1.135 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8863, allocations: 4 kB / 1.135 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004812/0.8868, allocations: 123.8 kB / 1.135 GB, free: 2.738 MB / 0.8887 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.001255/0.888, allocations: 1.067 MB / 1.136 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004614/0.8885, allocations: 223.6 kB / 1.136 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.8885, allocations: 0 / 1.136 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.8888, allocations: 115.9 kB / 1.136 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008237/0.8896, allocations: 159.2 kB / 1.136 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003765/0.8934, allocations: 3.147 MB / 1.139 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.8937, allocations: 0.7836 MB / 1.14 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003036/0.894, allocations: 90.98 kB / 1.14 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.8942, allocations: 99.41 kB / 1.14 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of SimCode: time 2.8e-07/0.8942, allocations: 3.938 kB / 1.14 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0212/0.9154, allocations: 10.02 MB / 1.15 GB, free: 3.02 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/0.9156, allocations: 244.3 kB / 1.15 GB, free: 2.758 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.801, allocations: 3.938 kB / 1.15 GB, free: 2.754 MB / 0.9044 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