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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001113/0.001117, allocations: 112.9 kB / 16.42 MB, free: 5.949 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.001151/0.001151, allocations: 184.1 kB / 17.35 MB, free: 5.594 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.355/1.355, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.605/2.605, allocations: 472.7 MB / 0.746 GB, free: 492 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 71.89 kB / 1.07 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7693/0.7706, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1689/0.9395, allocations: 167.4 MB / 1.39 GB, free: 5.512 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.002637/0.9422, allocations: 1.552 MB / 1.391 GB, free: 3.957 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002878/0.9425, allocations: 15.94 kB / 1.391 GB, free: 3.941 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0004955/0.9431, allocations: 150.9 kB / 1.391 GB, free: 3.793 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.9447, allocations: 0.739 MB / 1.392 GB, free: 3.051 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.9461, allocations: 0.6068 MB / 1.393 GB, free: 2.445 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0007353/0.9469, allocations: 0.7012 MB / 1.393 GB, free: 1.742 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000352/0.9472, allocations: 232.9 kB / 1.394 GB, free: 1.516 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005752/0.9478, allocations: 342.7 kB / 1.394 GB, free: 1.18 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000264/0.9481, allocations: 219.1 kB / 1.394 GB, free: 0.9648 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 4.12e-05/0.9481, allocations: 24 kB / 1.394 GB, free: 0.9414 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.9496, allocations: 0.8806 MB / 1.395 GB, free: 60 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.9497, allocations: 103.8 kB / 1.395 GB, free: 15.95 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.9499, allocations: 159.2 kB / 1.395 GB, free: 15.8 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.9509, allocations: 0.7249 MB / 1.396 GB, free: 15.08 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.9509, allocations: 0 / 1.396 GB, free: 15.08 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.818e-06/0.9509, allocations: 0 / 1.396 GB, free: 15.08 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.555e-06/0.9509, allocations: 3.938 kB / 1.396 GB, free: 15.07 MB / 1.123 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.0008897/0.9518, allocations: 0.6538 MB / 1.397 GB, free: 14.37 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.9519, allocations: 8.031 kB / 1.397 GB, free: 14.36 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.953, allocations: 159.6 kB / 1.397 GB, free: 14.21 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004904/0.9535, allocations: 329.8 kB / 1.397 GB, free: 13.84 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.9535, allocations: 16.44 kB / 1.397 GB, free: 13.82 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-05/0.9536, allocations: 24 kB / 1.397 GB, free: 13.8 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004443/0.954, allocations: 275.4 kB / 1.397 GB, free: 13.51 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.954, allocations: 4 kB / 1.397 GB, free: 13.51 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.9541, allocations: 15.94 kB / 1.398 GB, free: 13.49 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.9541, allocations: 4 kB / 1.398 GB, free: 13.49 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.9545, allocations: 199.8 kB / 1.398 GB, free: 13.29 MB / 1.123 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.001371/0.9558, allocations: 1.209 MB / 1.399 GB, free: 11.98 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.9561, allocations: 140.7 kB / 1.399 GB, free: 11.84 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.9563, allocations: 93.09 kB / 1.399 GB, free: 11.74 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005421/0.9569, allocations: 307.2 kB / 1.399 GB, free: 11.39 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.9569, allocations: 34.5 kB / 1.399 GB, free: 11.34 MB / 1.123 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.9569, allocations: 4 kB / 1.399 GB, free: 11.34 MB / 1.123 GB Notification: Performance of matching and sorting (n=15): time 0.0007214/0.9576, allocations: 277.3 kB / 1.4 GB, free: 11.06 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.9577, allocations: 51.41 kB / 1.4 GB, free: 11 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003233/0.958, allocations: 324.4 kB / 1.4 GB, free: 10.67 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.958, allocations: 29.7 kB / 1.4 GB, free: 10.64 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.9582, allocations: 180.4 kB / 1.4 GB, free: 10.46 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.944e-05/0.9582, allocations: 59.47 kB / 1.4 GB, free: 10.4 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.308e-05/0.9583, allocations: 45.7 kB / 1.4 GB, free: 10.35 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.9584, allocations: 334.8 kB / 1.401 GB, free: 10.01 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.9586, allocations: 67.95 kB / 1.401 GB, free: 9.945 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.9588, allocations: 122.5 kB / 1.401 GB, free: 9.809 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.9591, allocations: 185 kB / 1.401 GB, free: 9.609 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.9591, allocations: 0 / 1.401 GB, free: 9.609 MB / 1.123 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004466/0.9596, allocations: 247.8 kB / 1.401 GB, free: 9.363 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.9596, allocations: 8 kB / 1.401 GB, free: 9.355 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.9596, allocations: 0 / 1.401 GB, free: 9.355 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.9597, allocations: 4 kB / 1.401 GB, free: 9.352 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.9599, allocations: 43.91 kB / 1.401 GB, free: 9.309 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.9599, allocations: 0 / 1.401 GB, free: 9.309 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.9601, allocations: 40 kB / 1.401 GB, free: 9.27 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.9601, allocations: 12 kB / 1.401 GB, free: 9.258 MB / 1.123 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.0001314/0.9602, allocations: 153.7 kB / 1.402 GB, free: 9.098 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.126e-05/0.9603, allocations: 35.8 kB / 1.402 GB, free: 9.062 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004437/0.9607, allocations: 223 kB / 1.402 GB, free: 8.84 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.9608, allocations: 0 / 1.402 GB, free: 8.84 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.9608, allocations: 0 / 1.402 GB, free: 8.84 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.9609, allocations: 128.9 kB / 1.402 GB, free: 8.695 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.9609, allocations: 7.938 kB / 1.402 GB, free: 8.688 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.9611, allocations: 11.92 kB / 1.402 GB, free: 8.676 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.9611, allocations: 4 kB / 1.402 GB, free: 8.672 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000475/0.9616, allocations: 272.8 kB / 1.402 GB, free: 8.398 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006064/0.9622, allocations: 466.4 kB / 1.403 GB, free: 7.926 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001586/0.9624, allocations: 74.08 kB / 1.403 GB, free: 7.855 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002052/0.9626, allocations: 227 kB / 1.403 GB, free: 7.633 MB / 1.123 GB Notification: Performance of Backend: time 5.11e-07/0.9626, allocations: 0 / 1.403 GB, free: 7.633 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.9639, allocations: 385.6 kB / 1.403 GB, free: 7.254 MB / 1.123 GB Notification: Performance of SimCode: time 0.001496/0.9654, allocations: 1.119 MB / 1.404 GB, free: 6.09 MB / 1.123 GB Notification: Performance of Templates: time 0.01262/0.978, allocations: 7.926 MB / 1.412 GB, free: 14.25 MB / 1.139 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