Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 180.7 kB / 16.92 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.44/1.44, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.702/2.702, allocations: 443.2 MB / 0.7181 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.000382, allocations: 16.44 kB / 0.8801 GB, free: 41.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3005, allocations: 155.1 MB / 1.032 GB, free: 4.516 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.198/0.4985, allocations: 163 MB / 1.191 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003296/0.5019, allocations: 1.541 MB / 1.192 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005666/0.5025, allocations: 15.88 kB / 1.192 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005761/0.5031, allocations: 119.3 kB / 1.192 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002051/0.5051, allocations: 0.6613 MB / 1.193 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.507, allocations: 0.5484 MB / 1.194 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001321/0.5084, allocations: 0.9742 MB / 1.195 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004888/0.5089, allocations: 189.3 kB / 1.195 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009631/0.5098, allocations: 302.7 kB / 1.195 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000558/0.5104, allocations: 235 kB / 1.195 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.727e-05/0.5105, allocations: 16 kB / 1.195 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002074/0.5126, allocations: 1.009 MB / 1.196 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000205/0.5128, allocations: 95.66 kB / 1.196 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003041/0.5131, allocations: 180.9 kB / 1.196 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009812/0.5141, allocations: 0.4911 MB / 1.197 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.5141, allocations: 4 kB / 1.197 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5141, allocations: 0 / 1.197 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.522e-05/0.5142, allocations: 0 / 1.197 GB, free: 10.54 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001241/0.5154, allocations: 0.596 MB / 1.198 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.5155, allocations: 11.97 kB / 1.198 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/0.5168, allocations: 159.3 kB / 1.198 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005366/0.5173, allocations: 301.7 kB / 1.198 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.355e-05/0.5174, allocations: 28.38 kB / 1.198 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.764e-05/0.5174, allocations: 20 kB / 1.198 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000571/0.518, allocations: 287.4 kB / 1.198 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.518, allocations: 0 / 1.198 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.5181, allocations: 8 kB / 1.198 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.5181, allocations: 8 kB / 1.198 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004986/0.5186, allocations: 211.7 kB / 1.199 GB, free: 8.812 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.001653/0.5203, allocations: 1.221 MB / 1.2 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.5206, allocations: 134.5 kB / 1.2 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.5208, allocations: 100.8 kB / 1.2 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006334/0.5214, allocations: 315.2 kB / 1.2 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.5215, allocations: 34.5 kB / 1.2 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 2.204e-06/0.5215, allocations: 0 / 1.2 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0008254/0.5223, allocations: 296 kB / 1.201 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.5224, allocations: 55.41 kB / 1.201 GB, free: 6.48 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003624/0.5228, allocations: 320.5 kB / 1.201 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.5228, allocations: 25.7 kB / 1.201 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.5229, allocations: 188.1 kB / 1.201 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.308e-05/0.523, allocations: 55.2 kB / 1.201 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/0.5231, allocations: 25.7 kB / 1.201 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.5232, allocations: 342.8 kB / 1.202 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.5234, allocations: 67.95 kB / 1.202 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.5236, allocations: 129 kB / 1.202 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003871/0.524, allocations: 212.6 kB / 1.202 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.524, allocations: 0 / 1.202 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005071/0.5245, allocations: 249.2 kB / 1.202 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.5246, allocations: 8 kB / 1.202 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.5246, allocations: 0 / 1.202 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.5246, allocations: 4 kB / 1.202 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.5248, allocations: 39.97 kB / 1.202 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.5248, allocations: 7.938 kB / 1.202 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.5251, allocations: 39.8 kB / 1.202 GB, free: 4.727 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.5251, allocations: 8 kB / 1.202 GB, free: 4.719 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.0001481/0.5253, allocations: 147.3 kB / 1.202 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.618e-05/0.5253, allocations: 31.62 kB / 1.202 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005093/0.5258, allocations: 236.3 kB / 1.203 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.5259, allocations: 4 kB / 1.203 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5259, allocations: 0 / 1.203 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.5259, allocations: 3.984 kB / 1.203 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.527, allocations: 0.6914 MB / 1.203 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.527, allocations: 4.031 kB / 1.203 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.5272, allocations: 43.86 kB / 1.203 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.5272, allocations: 4 kB / 1.203 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.5272, allocations: 3.938 kB / 1.203 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.5272, allocations: 4 kB / 1.203 GB, free: 3.465 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.5272, allocations: 7.984 kB / 1.203 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000716/0.528, allocations: 450.5 kB / 1.204 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.5281, allocations: 124.7 kB / 1.204 GB, free: 2.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.665e-05/0.5282, allocations: 11.94 kB / 1.204 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.5284, allocations: 16.05 kB / 1.204 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.5284, allocations: 19.92 kB / 1.204 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.5284, allocations: 4 kB / 1.204 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002268/0.5287, allocations: 227 kB / 1.204 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.774e-06/0.5287, allocations: 0 / 1.204 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004031/0.5291, allocations: 83.78 kB / 1.204 GB, free: 2.488 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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.0004273/0.5295, allocations: 164.8 kB / 1.204 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004588/0.53, allocations: 175.9 kB / 1.205 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.53, allocations: 0 / 1.205 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.5302, allocations: 91.83 kB / 1.205 GB, free: 2.062 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.5313, allocations: 175 kB / 1.205 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.5324, allocations: 0.7585 MB / 1.206 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.5327, allocations: 0.7797 MB / 1.206 GB, free: 284 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.864e-05/0.5328, allocations: 23.44 kB / 1.206 GB, free: 260 kB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.5328, allocations: 0 / 1.206 GB, free: 260 kB / 0.9512 GB Notification: Performance of Templates: time 0.008638/0.5415, allocations: 4.772 MB / 1.211 GB, free: 11.54 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches