Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_latest_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.004482/0.004481, allocations: 102.7 kB / 15.73 MB, free: 6.445 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.001314/0.001314, allocations: 195.9 kB / 16.68 MB, free: 6.355 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.821/2.821, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 64.12 kB / 1.054 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3832, allocations: 157.4 MB / 1.207 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.972/1.355, allocations: 169.4 MB / 1.373 GB, free: 15.51 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00931/1.365, allocations: 7.14 MB / 1.38 GB, free: 10.41 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006642/1.365, allocations: 12.22 kB / 1.38 GB, free: 10.41 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006149/1.366, allocations: 173.8 kB / 1.38 GB, free: 10.29 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003737/1.37, allocations: 1.263 MB / 1.381 GB, free: 9.352 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001932/1.372, allocations: 0.6241 MB / 1.382 GB, free: 8.898 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001305/1.373, allocations: 0.7666 MB / 1.382 GB, free: 8.457 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007017/1.374, allocations: 298.4 kB / 1.383 GB, free: 8.281 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001736/1.375, allocations: 0.569 MB / 1.383 GB, free: 7.93 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/1.377, allocations: 428.2 kB / 1.384 GB, free: 7.684 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001042/1.377, allocations: 26.09 kB / 1.384 GB, free: 7.684 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002971/1.38, allocations: 1.241 MB / 1.385 GB, free: 6.988 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002026/1.38, allocations: 115.7 kB / 1.385 GB, free: 6.91 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003442/1.38, allocations: 187.3 kB / 1.385 GB, free: 6.789 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002449/1.383, allocations: 0.8973 MB / 1.386 GB, free: 6.246 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/1.383, allocations: 1.031 kB / 1.386 GB, free: 6.246 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.104e-06/1.383, allocations: 0 / 1.386 GB, free: 6.246 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.219e-05/1.383, allocations: 0 / 1.386 GB, free: 6.246 MB / 1.076 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.00185/1.385, allocations: 0.6933 MB / 1.387 GB, free: 5.641 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/1.385, allocations: 10.84 kB / 1.387 GB, free: 5.641 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001014/1.385, allocations: 65.19 kB / 1.387 GB, free: 5.578 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/1.386, allocations: 133.5 kB / 1.387 GB, free: 5.512 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007172/1.387, allocations: 344.7 kB / 1.387 GB, free: 5.195 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.23e-05/1.387, allocations: 51.06 kB / 1.387 GB, free: 5.148 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.96e-05/1.387, allocations: 29.81 kB / 1.387 GB, free: 5.137 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007807/1.388, allocations: 362.4 kB / 1.388 GB, free: 4.906 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/1.388, allocations: 1.094 kB / 1.388 GB, free: 4.906 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/1.388, allocations: 13.88 kB / 1.388 GB, free: 4.895 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/1.388, allocations: 7.562 kB / 1.388 GB, free: 4.895 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006357/1.388, allocations: 279.4 kB / 1.388 GB, free: 4.762 MB / 1.076 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.002376/1.391, allocations: 1.486 MB / 1.39 GB, free: 3.402 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004493/1.391, allocations: 190.4 kB / 1.39 GB, free: 3.301 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/1.392, allocations: 125.7 kB / 1.39 GB, free: 3.234 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/1.393, allocations: 0.5035 MB / 1.39 GB, free: 2.715 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/1.393, allocations: 36.06 kB / 1.39 GB, free: 2.672 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 3.356e-06/1.393, allocations: 0 / 1.39 GB, free: 2.672 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.001065/1.394, allocations: 350.7 kB / 1.391 GB, free: 2.496 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/1.394, allocations: 61.91 kB / 1.391 GB, free: 2.426 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00039/1.394, allocations: 323.6 kB / 1.391 GB, free: 2.215 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/1.394, allocations: 27.95 kB / 1.391 GB, free: 2.184 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/1.394, allocations: 185.2 kB / 1.391 GB, free: 2.016 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.827e-05/1.394, allocations: 45.02 kB / 1.391 GB, free: 1.977 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.62e-05/1.395, allocations: 43.61 kB / 1.391 GB, free: 1.945 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001414/1.395, allocations: 338.5 kB / 1.392 GB, free: 1.613 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/1.395, allocations: 88.92 kB / 1.392 GB, free: 1.57 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/1.395, allocations: 152.6 kB / 1.392 GB, free: 1.457 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004554/1.396, allocations: 239.3 kB / 1.392 GB, free: 1.301 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.396, allocations: 1.188 kB / 1.392 GB, free: 1.301 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006555/1.396, allocations: 288.1 kB / 1.392 GB, free: 1.145 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/1.396, allocations: 9.562 kB / 1.392 GB, free: 1.141 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/1.396, allocations: 1.281 kB / 1.392 GB, free: 1.141 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.533e-05/1.396, allocations: 3.156 kB / 1.392 GB, free: 1.141 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/1.397, allocations: 39.88 kB / 1.392 GB, free: 1.133 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/1.397, allocations: 2.312 kB / 1.392 GB, free: 1.133 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/1.397, allocations: 34.52 kB / 1.392 GB, free: 1.109 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.011e-05/1.397, allocations: 9.031 kB / 1.392 GB, free: 1.109 MB / 1.076 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.0001782/1.397, allocations: 160.1 kB / 1.393 GB, free: 0.9609 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/1.397, allocations: 26.28 kB / 1.393 GB, free: 0.9492 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007185/1.398, allocations: 316.1 kB / 1.393 GB, free: 0.7695 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/1.398, allocations: 5.219 kB / 1.393 GB, free: 0.7656 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.398, allocations: 1.406 kB / 1.393 GB, free: 0.7656 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/1.398, allocations: 3.984 kB / 1.393 GB, free: 0.7617 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/1.4, allocations: 0.7994 MB / 1.394 GB, free: 124 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/1.4, allocations: 1.25 kB / 1.394 GB, free: 124 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/1.4, allocations: 42.69 kB / 1.394 GB, free: 108 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/1.4, allocations: 2.25 kB / 1.394 GB, free: 108 kB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/1.4, allocations: 8.375 kB / 1.394 GB, free: 104 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/1.4, allocations: 2.312 kB / 1.394 GB, free: 104 kB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/1.4, allocations: 6.406 kB / 1.394 GB, free: 100 kB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006639/1.401, allocations: 401.3 kB / 1.394 GB, free: 15.79 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/1.401, allocations: 139.9 kB / 1.394 GB, free: 15.66 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/1.401, allocations: 12.06 kB / 1.394 GB, free: 15.65 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/1.401, allocations: 14.86 kB / 1.394 GB, free: 15.64 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.268e-05/1.401, allocations: 16.17 kB / 1.394 GB, free: 15.63 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/1.401, allocations: 16.23 kB / 1.394 GB, free: 15.62 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002461/1.401, allocations: 226.7 kB / 1.395 GB, free: 15.48 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.21e-07/1.401, allocations: 0 / 1.395 GB, free: 15.48 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006583/1.402, allocations: 120.5 kB / 1.395 GB, free: 15.45 MB / 1.092 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.001563/1.404, allocations: 1.059 MB / 1.396 GB, free: 14.55 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005602/1.404, allocations: 227.4 kB / 1.396 GB, free: 14.45 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.404, allocations: 0 / 1.396 GB, free: 14.45 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002421/1.405, allocations: 114.6 kB / 1.396 GB, free: 14.39 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009555/1.406, allocations: 164.5 kB / 1.396 GB, free: 14.32 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004711/1.41, allocations: 3.039 MB / 1.399 GB, free: 12.07 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/1.411, allocations: 0.7917 MB / 1.4 GB, free: 11.32 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003539/1.411, allocations: 83.52 kB / 1.4 GB, free: 11.28 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/1.411, allocations: 98.78 kB / 1.4 GB, free: 11.2 MB / 1.092 GB Notification: Performance of SimCode: time 8.12e-07/1.411, allocations: 1.062 kB / 1.4 GB, free: 11.2 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03457/1.446, allocations: 10.66 MB / 1.411 GB, free: 5.844 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.254/9.7, allocations: 16.97 kB / 1.411 GB, free: 5.832 MB / 1.092 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches