Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: 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_10_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_10_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.001486/0.001486, allocations: 109.9 kB / 16.42 MB, free: 6.453 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.001673/0.001673, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.385/2.385, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 67.89 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7797/0.7811, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1809/0.9621, allocations: 167.4 MB / 1.331 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002743/0.9649, allocations: 1.553 MB / 1.332 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003981/0.9653, allocations: 15.88 kB / 1.332 GB, free: 10.25 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004946/0.9658, allocations: 146.9 kB / 1.332 GB, free: 10.11 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001769/0.9676, allocations: 0.7391 MB / 1.333 GB, free: 9.367 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.9692, allocations: 0.6032 MB / 1.334 GB, free: 8.766 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0009157/0.9702, allocations: 0.7051 MB / 1.334 GB, free: 8.059 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005261/0.9707, allocations: 236.8 kB / 1.335 GB, free: 7.824 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006813/0.9714, allocations: 346.7 kB / 1.335 GB, free: 7.484 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003598/0.9718, allocations: 215.1 kB / 1.335 GB, free: 7.273 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.206e-05/0.9718, allocations: 24 kB / 1.335 GB, free: 7.25 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.9734, allocations: 0.8806 MB / 1.336 GB, free: 6.367 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.9735, allocations: 103.7 kB / 1.336 GB, free: 6.266 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001946/0.9737, allocations: 163.2 kB / 1.336 GB, free: 6.105 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.9751, allocations: 0.7226 MB / 1.337 GB, free: 5.383 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.9751, allocations: 4 kB / 1.337 GB, free: 5.379 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9751, allocations: 0 / 1.337 GB, free: 5.379 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.9751, allocations: 0 / 1.337 GB, free: 5.379 MB / 1.061 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.001202/0.9763, allocations: 0.6387 MB / 1.338 GB, free: 4.691 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.05e-05/0.9764, allocations: 12.03 kB / 1.338 GB, free: 4.68 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.9777, allocations: 155.4 kB / 1.338 GB, free: 4.527 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006204/0.9783, allocations: 321.6 kB / 1.338 GB, free: 4.172 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.9783, allocations: 16.44 kB / 1.338 GB, free: 4.156 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.599e-05/0.9784, allocations: 24 kB / 1.338 GB, free: 4.133 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005021/0.9789, allocations: 279.4 kB / 1.338 GB, free: 3.844 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.9789, allocations: 3.938 kB / 1.338 GB, free: 3.84 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.9789, allocations: 8 kB / 1.338 GB, free: 3.832 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.9789, allocations: 8 kB / 1.338 GB, free: 3.824 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004046/0.9794, allocations: 199.8 kB / 1.339 GB, free: 3.629 MB / 1.061 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.001478/0.9808, allocations: 1.209 MB / 1.34 GB, free: 2.316 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.9811, allocations: 134.5 kB / 1.34 GB, free: 2.176 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.9813, allocations: 92.8 kB / 1.34 GB, free: 2.082 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005859/0.9819, allocations: 307.2 kB / 1.34 GB, free: 1.727 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.982, allocations: 38.48 kB / 1.34 GB, free: 1.68 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.982, allocations: 0 / 1.34 GB, free: 1.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0007818/0.9828, allocations: 287.6 kB / 1.341 GB, free: 1.395 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.9828, allocations: 55.34 kB / 1.341 GB, free: 1.328 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.9831, allocations: 316.5 kB / 1.341 GB, free: 1.008 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.9831, allocations: 25.7 kB / 1.341 GB, free: 0.9766 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.9833, allocations: 180.1 kB / 1.341 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/0.9833, allocations: 51.3 kB / 1.341 GB, free: 0.7461 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.106e-05/0.9834, allocations: 45.61 kB / 1.341 GB, free: 0.6953 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.9836, allocations: 346.7 kB / 1.342 GB, free: 356 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.9837, allocations: 67.95 kB / 1.342 GB, free: 288 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.9839, allocations: 122.5 kB / 1.342 GB, free: 148 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.9843, allocations: 194.1 kB / 1.342 GB, free: 15.94 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.9843, allocations: 0 / 1.342 GB, free: 15.94 MB / 1.076 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004716/0.9848, allocations: 233.8 kB / 1.342 GB, free: 15.7 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.9848, allocations: 8 kB / 1.342 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.9849, allocations: 96 / 1.342 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.9849, allocations: 8 kB / 1.342 GB, free: 15.69 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.9851, allocations: 39.92 kB / 1.342 GB, free: 15.65 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.9851, allocations: 0 / 1.342 GB, free: 15.65 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.9853, allocations: 35.67 kB / 1.342 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.9853, allocations: 16 kB / 1.342 GB, free: 15.6 MB / 1.076 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.000153/0.9855, allocations: 153.7 kB / 1.342 GB, free: 15.44 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.618e-05/0.9856, allocations: 31.62 kB / 1.342 GB, free: 15.41 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004606/0.986, allocations: 216.3 kB / 1.343 GB, free: 15.19 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.986, allocations: 0 / 1.343 GB, free: 15.19 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.9861, allocations: 0 / 1.343 GB, free: 15.19 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.9862, allocations: 120.7 kB / 1.343 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.503e-05/0.9862, allocations: 8 kB / 1.343 GB, free: 15.04 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.9864, allocations: 7.938 kB / 1.343 GB, free: 15.04 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.9865, allocations: 11.92 kB / 1.343 GB, free: 15.02 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005134/0.987, allocations: 279.6 kB / 1.343 GB, free: 14.75 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006478/0.9876, allocations: 454.3 kB / 1.344 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000166/0.9878, allocations: 79.97 kB / 1.344 GB, free: 14.21 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002202/0.988, allocations: 227 kB / 1.344 GB, free: 13.99 MB / 1.076 GB Notification: Performance of Backend: time 6.31e-07/0.988, allocations: 0 / 1.344 GB, free: 13.99 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001137/0.9892, allocations: 387 kB / 1.344 GB, free: 13.61 MB / 1.076 GB Notification: Performance of SimCode: time 0.001539/0.9907, allocations: 1.115 MB / 1.345 GB, free: 12.45 MB / 1.076 GB Notification: Performance of Templates: time 0.01447/1.005, allocations: 7.917 MB / 1.353 GB, free: 4.617 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches