Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.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: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.ports.1..m_flow|senDenVol.d|senDenFlo.d",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.ports.1..m_flow|senDenVol.d|senDenFlo.d",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 110.9 kB / 16.42 MB, free: 6.516 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.001356/0.001356, allocations: 190.7 kB / 17.35 MB, free: 5.73 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.315/1.315, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.624/2.624, allocations: 469.4 MB / 0.7428 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 64.12 kB / 1.066 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7112/0.7132, allocations: 159.1 MB / 1.221 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.1735/0.8867, allocations: 185 MB / 1.402 GB, free: 8.609 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.009882/0.8967, allocations: 6.977 MB / 1.408 GB, free: 1.609 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009393/0.8976, allocations: 35.81 kB / 1.408 GB, free: 1.574 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.8988, allocations: 413.5 kB / 1.409 GB, free: 1.168 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003452/0.9023, allocations: 1.505 MB / 1.41 GB, free: 15.66 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002746/0.9051, allocations: 1.171 MB / 1.411 GB, free: 14.49 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002244/0.9073, allocations: 1.951 MB / 1.413 GB, free: 12.53 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009708/0.9083, allocations: 0.6628 MB / 1.414 GB, free: 11.86 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001532/0.9098, allocations: 0.8523 MB / 1.415 GB, free: 11 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.9112, allocations: 0.601 MB / 1.415 GB, free: 10.4 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001636/0.9113, allocations: 68 kB / 1.416 GB, free: 10.34 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003156/0.9145, allocations: 1.937 MB / 1.417 GB, free: 8.395 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003533/0.9149, allocations: 291.2 kB / 1.418 GB, free: 8.109 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005825/0.9155, allocations: 430.1 kB / 1.418 GB, free: 7.688 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002648/0.9181, allocations: 1.761 MB / 1.42 GB, free: 5.922 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.9181, allocations: 4 kB / 1.42 GB, free: 5.918 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.372e-06/0.9181, allocations: 3.938 kB / 1.42 GB, free: 5.914 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.445e-05/0.9182, allocations: 0 / 1.42 GB, free: 5.914 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002059/0.9202, allocations: 1.161 MB / 1.421 GB, free: 4.703 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.9203, allocations: 8.625 kB / 1.421 GB, free: 4.695 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002037/0.9223, allocations: 266.8 kB / 1.421 GB, free: 4.434 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.9234, allocations: 0.6105 MB / 1.422 GB, free: 3.781 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/0.9234, allocations: 41.31 kB / 1.422 GB, free: 3.742 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.716e-05/0.9236, allocations: 59.91 kB / 1.422 GB, free: 3.684 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.9247, allocations: 0.6401 MB / 1.423 GB, free: 3.027 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.9247, allocations: 3.938 kB / 1.423 GB, free: 3.023 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.353e-05/0.9248, allocations: 24 kB / 1.423 GB, free: 3 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.761e-05/0.9248, allocations: 17.31 kB / 1.423 GB, free: 2.984 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009895/0.9258, allocations: 0.5242 MB / 1.423 GB, free: 2.461 MB / 1.139 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.003079/0.9289, allocations: 2.445 MB / 1.425 GB, free: 15.8 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006788/0.9296, allocations: 371.5 kB / 1.426 GB, free: 15.43 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003873/0.93, allocations: 233.4 kB / 1.426 GB, free: 15.2 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005741/0.9305, allocations: 311.5 kB / 1.426 GB, free: 14.84 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.9306, allocations: 38.83 kB / 1.426 GB, free: 14.79 MB / 1.154 GB Notification: Performance of pre-optimization done (n=39): time 1.653e-06/0.9306, allocations: 0 / 1.426 GB, free: 14.79 MB / 1.154 GB Notification: Performance of matching and sorting (n=39): time 0.00141/0.932, allocations: 0.6148 MB / 1.427 GB, free: 14.17 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.932, allocations: 59.34 kB / 1.427 GB, free: 14.1 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005404/0.9326, allocations: 0.495 MB / 1.428 GB, free: 13.59 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/0.9326, allocations: 37.7 kB / 1.428 GB, free: 13.55 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.9329, allocations: 324.4 kB / 1.428 GB, free: 13.23 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.933, allocations: 138 kB / 1.428 GB, free: 13.09 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.9332, allocations: 94.03 kB / 1.428 GB, free: 13 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.9333, allocations: 362.7 kB / 1.428 GB, free: 12.63 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003433/0.9336, allocations: 182.5 kB / 1.429 GB, free: 12.45 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004125/0.9341, allocations: 283.3 kB / 1.429 GB, free: 12.14 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007281/0.9348, allocations: 452.2 kB / 1.429 GB, free: 11.66 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.9348, allocations: 0 / 1.429 GB, free: 11.66 MB / 1.154 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009368/0.9358, allocations: 0.5239 MB / 1.43 GB, free: 11.13 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.9358, allocations: 4.281 kB / 1.43 GB, free: 11.13 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.9358, allocations: 11.94 kB / 1.43 GB, free: 11.12 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.9358, allocations: 4 kB / 1.43 GB, free: 11.11 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007468/0.9366, allocations: 131.8 kB / 1.43 GB, free: 10.98 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003452/0.9369, allocations: 0.5976 MB / 1.431 GB, free: 10.36 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005599/0.9375, allocations: 55.61 kB / 1.431 GB, free: 10.31 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.244e-05/0.9376, allocations: 16.06 kB / 1.431 GB, free: 10.29 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000515/0.9381, allocations: 356.8 kB / 1.431 GB, free: 9.941 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004084/0.9385, allocations: 279.4 kB / 1.431 GB, free: 9.629 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007262/0.9392, allocations: 452.4 kB / 1.432 GB, free: 9.156 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.154e-06/0.9392, allocations: 0 / 1.432 GB, free: 9.156 MB / 1.154 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009108/0.9402, allocations: 0.5277 MB / 1.432 GB, free: 8.621 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.9402, allocations: 4 kB / 1.432 GB, free: 8.617 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.9402, allocations: 4 kB / 1.432 GB, free: 8.613 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.645e-06/0.9402, allocations: 7.938 kB / 1.432 GB, free: 8.605 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005332/0.9407, allocations: 116.1 kB / 1.432 GB, free: 8.492 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.9408, allocations: 15.92 kB / 1.432 GB, free: 8.477 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005389/0.9413, allocations: 39.67 kB / 1.432 GB, free: 8.438 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.784e-05/0.9414, allocations: 20 kB / 1.432 GB, free: 8.418 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001432/0.9415, allocations: 204.2 kB / 1.433 GB, free: 8.211 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.9416, allocations: 55.34 kB / 1.433 GB, free: 8.156 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009127/0.9425, allocations: 495.9 kB / 1.433 GB, free: 7.664 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007839/0.9433, allocations: 0.7068 MB / 1.434 GB, free: 6.871 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.9433, allocations: 0 / 1.434 GB, free: 6.871 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002549/0.9436, allocations: 180.2 kB / 1.434 GB, free: 6.676 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.957e-05/0.9437, allocations: 8 kB / 1.434 GB, free: 6.668 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004407/0.9441, allocations: 21.86 kB / 1.434 GB, free: 6.648 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.71e-05/0.9442, allocations: 23.97 kB / 1.434 GB, free: 6.625 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001339/0.9456, allocations: 0.5794 MB / 1.435 GB, free: 6.035 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001181/0.9468, allocations: 0.8419 MB / 1.435 GB, free: 5.176 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003238/0.9471, allocations: 187.9 kB / 1.436 GB, free: 4.992 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0003601/0.9475, allocations: 358.8 kB / 1.436 GB, free: 4.645 MB / 1.154 GB Notification: Performance of Backend: time 5.31e-07/0.9475, allocations: 0 / 1.436 GB, free: 4.645 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002573/0.9501, allocations: 0.9933 MB / 1.437 GB, free: 3.656 MB / 1.154 GB Notification: Performance of SimCode: time 0.002932/0.953, allocations: 1.944 MB / 1.439 GB, free: 1.672 MB / 1.154 GB Notification: Performance of Templates: time 0.02742/0.9805, allocations: 17.75 MB / 1.456 GB, free: 72 kB / 1.17 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Density_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Density.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches