Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Density,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.ports.1..m_flow|senDenVol.d|senDenFlo.d",fileNamePrefix="Buildings_9_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_9_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.001364/0.001364, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001782/0.001782, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.507/2.507, allocations: 390.9 MB / 0.666 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005258/0.0005259, allocations: 8 kB / 0.8153 GB, free: 13.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7646/0.7652, allocations: 142.4 MB / 0.9544 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.2/0.9652, allocations: 168.3 MB / 1.119 GB, free: 6.777 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01022/0.9755, allocations: 6.506 MB / 1.125 GB, free: 264 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.9766, allocations: 27.81 kB / 1.125 GB, free: 236 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.9776, allocations: 278.3 kB / 1.125 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003231/0.9809, allocations: 1.049 MB / 1.126 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002732/0.9836, allocations: 0.8537 MB / 1.127 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002846/0.9865, allocations: 2.283 MB / 1.13 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008127/0.9873, allocations: 496.1 kB / 1.13 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001474/0.9888, allocations: 0.6924 MB / 1.131 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008112/0.9896, allocations: 0.572 MB / 1.131 GB, free: 9.992 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.136e-05/0.9897, allocations: 32 kB / 1.131 GB, free: 9.961 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002806/0.9925, allocations: 1.13 MB / 1.132 GB, free: 8.828 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002858/0.9928, allocations: 247.2 kB / 1.133 GB, free: 8.586 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001981/0.993, allocations: 181.3 kB / 1.133 GB, free: 8.402 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.9945, allocations: 1.142 MB / 1.134 GB, free: 7.258 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.9945, allocations: 3.938 kB / 1.134 GB, free: 7.254 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.794e-06/0.9945, allocations: 4 kB / 1.134 GB, free: 7.25 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.9945, allocations: 0 / 1.134 GB, free: 7.25 MB / 0.8887 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.001717/0.9962, allocations: 1.024 MB / 1.135 GB, free: 6.176 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.9963, allocations: 8.031 kB / 1.135 GB, free: 6.168 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/0.998, allocations: 274.8 kB / 1.135 GB, free: 5.898 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008231/0.9989, allocations: 0.5524 MB / 1.136 GB, free: 5.305 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/0.9989, allocations: 41.31 kB / 1.136 GB, free: 5.266 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.263e-05/0.999, allocations: 59.91 kB / 1.136 GB, free: 5.207 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/1, allocations: 0.644 MB / 1.136 GB, free: 4.547 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/1, allocations: 0 / 1.136 GB, free: 4.547 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.23e-05/1, allocations: 20 kB / 1.136 GB, free: 4.527 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.031e-05/1, allocations: 21.31 kB / 1.136 GB, free: 4.508 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008998/1.001, allocations: 0.5281 MB / 1.137 GB, free: 3.977 MB / 0.8887 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.002961/1.004, allocations: 2.461 MB / 1.139 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006463/1.005, allocations: 355.5 kB / 1.14 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003813/1.005, allocations: 250.5 kB / 1.14 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005463/1.006, allocations: 315.6 kB / 1.14 GB, free: 340 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/1.006, allocations: 42.83 kB / 1.14 GB, free: 288 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=39): time 2.104e-06/1.006, allocations: 0 / 1.14 GB, free: 288 kB / 0.8887 GB Notification: Performance of matching and sorting (n=39): time 0.001356/1.007, allocations: 0.6301 MB / 1.141 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/1.007, allocations: 55.41 kB / 1.141 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005548/1.008, allocations: 0.495 MB / 1.141 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.44e-05/1.008, allocations: 41.64 kB / 1.142 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/1.008, allocations: 320.5 kB / 1.142 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/1.008, allocations: 141.9 kB / 1.142 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.511e-05/1.008, allocations: 12 kB / 1.142 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001492/1.008, allocations: 362.8 kB / 1.142 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003246/1.009, allocations: 168.8 kB / 1.142 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004167/1.009, allocations: 287.4 kB / 1.143 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003956/1.009, allocations: 215.8 kB / 1.143 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/1.01, allocations: 4 kB / 1.143 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009279/1.01, allocations: 0.5239 MB / 1.143 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/1.011, allocations: 172.9 kB / 1.144 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/1.011, allocations: 0 / 1.144 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/1.011, allocations: 4 kB / 1.144 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007437/1.011, allocations: 143.8 kB / 1.144 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003594/1.012, allocations: 0.59 MB / 1.144 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005944/1.012, allocations: 87.58 kB / 1.144 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/1.012, allocations: 16 kB / 1.144 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.777e-06/1.012, allocations: 4 kB / 1.144 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000813/1.013, allocations: 463.8 kB / 1.145 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.013, allocations: 11.94 kB / 1.145 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.642e-06/1.013, allocations: 4 kB / 1.145 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004891/1.014, allocations: 132.1 kB / 1.145 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/1.014, allocations: 7.984 kB / 1.145 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005766/1.014, allocations: 75.64 kB / 1.145 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/1.014, allocations: 20 kB / 1.145 GB, free: 11.2 MB / 0.9044 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003774/1.015, allocations: 305 kB / 1.145 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/1.015, allocations: 63.25 kB / 1.145 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00099/1.016, allocations: 496 kB / 1.146 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/1.016, allocations: 4 kB / 1.146 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/1.016, allocations: 11.94 kB / 1.146 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008215/1.017, allocations: 0.7107 MB / 1.147 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/1.019, allocations: 1.305 MB / 1.148 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/1.019, allocations: 4.031 kB / 1.148 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000658/1.02, allocations: 127.8 kB / 1.148 GB, free: 8.012 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.4e-05/1.02, allocations: 4 kB / 1.148 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.549e-05/1.02, allocations: 12 kB / 1.148 GB, free: 7.996 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003796/1.02, allocations: 0.6015 MB / 1.149 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.02, allocations: 3.953 kB / 1.149 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/1.021, allocations: 0.8056 MB / 1.149 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003075/1.022, allocations: 180.4 kB / 1.15 GB, free: 6.328 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.847e-05/1.022, allocations: 8 kB / 1.15 GB, free: 6.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005058/1.022, allocations: 59.8 kB / 1.15 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.647e-05/1.022, allocations: 28.02 kB / 1.15 GB, free: 6.234 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.554e-05/1.022, allocations: 19.97 kB / 1.15 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000466/1.023, allocations: 346.8 kB / 1.15 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/1.023, allocations: 4 kB / 1.15 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001135/1.024, allocations: 359.2 kB / 1.15 GB, free: 5.523 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,senDenFlo.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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005376/1.025, allocations: 206.3 kB / 1.151 GB, free: 5.324 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001658/1.026, allocations: 0.6722 MB / 1.151 GB, free: 4.652 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.026, allocations: 4.062 kB / 1.151 GB, free: 4.648 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004557/1.027, allocations: 231.6 kB / 1.152 GB, free: 4.422 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/1.029, allocations: 358 kB / 1.152 GB, free: 4.078 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00264/1.031, allocations: 1.744 MB / 1.154 GB, free: 2.285 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005992/1.032, allocations: 0.9496 MB / 1.154 GB, free: 1.309 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001155/1.033, allocations: 205 kB / 1.155 GB, free: 1.109 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/1.033, allocations: 51.42 kB / 1.155 GB, free: 1.059 MB / 0.9044 GB Notification: Performance of SimCode: time 7.21e-07/1.033, allocations: 0 / 1.155 GB, free: 1.059 MB / 0.9044 GB Notification: Performance of Templates: time 0.02828/1.061, allocations: 11.52 MB / 1.166 GB, free: 5.727 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.Density_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_Density.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.Density.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches