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.001109/0.001109, allocations: 103.8 kB / 16.35 MB, free: 5.824 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.001066/0.001066, allocations: 190.4 kB / 17.29 MB, free: 5.48 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.499/1.499, 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 9.1.2-maint.9.1.x/package.mo): time 2.359/2.359, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 64.98 kB / 0.814 GB, free: 32.63 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3275, allocations: 140.4 MB / 0.9511 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.9439/1.271, allocations: 185.1 MB / 1.132 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01368/1.285, allocations: 6.97 MB / 1.139 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002744/1.288, allocations: 30.03 kB / 1.139 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001683/1.29, allocations: 398.5 kB / 1.139 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005767/1.296, allocations: 1.452 MB / 1.14 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004061/1.3, allocations: 1.162 MB / 1.142 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003626/1.303, allocations: 1.94 MB / 1.143 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/1.304, allocations: 0.6535 MB / 1.144 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001696/1.306, allocations: 0.827 MB / 1.145 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/1.307, allocations: 0.6018 MB / 1.146 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001207/1.307, allocations: 68 kB / 1.146 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004621/1.312, allocations: 1.925 MB / 1.147 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003621/1.312, allocations: 296 kB / 1.148 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005304/1.313, allocations: 432.1 kB / 1.148 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003428/1.316, allocations: 1.756 MB / 1.15 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.316, allocations: 4.781 kB / 1.15 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.212e-06/1.316, allocations: 0 / 1.15 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.721e-05/1.317, allocations: 0 / 1.15 GB, free: 3.684 MB / 0.8575 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.001967/1.318, allocations: 1.159 MB / 1.151 GB, free: 18.9 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/1.319, allocations: 9.469 kB / 1.151 GB, free: 18.9 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002029/1.321, allocations: 274.3 kB / 1.151 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/1.322, allocations: 0.6113 MB / 1.152 GB, free: 18.45 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.813e-05/1.322, allocations: 47.91 kB / 1.152 GB, free: 18.42 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/1.322, allocations: 54.34 kB / 1.152 GB, free: 18.41 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/1.324, allocations: 0.6321 MB / 1.153 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/1.324, allocations: 0 / 1.153 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.118e-05/1.324, allocations: 33.66 kB / 1.153 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.534e-05/1.324, allocations: 21.95 kB / 1.153 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/1.325, allocations: 0.5208 MB / 1.153 GB, free: 17.95 MB / 0.8731 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.003793/1.329, allocations: 2.447 MB / 1.156 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007447/1.329, allocations: 363.4 kB / 1.156 GB, free: 16.04 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003849/1.33, allocations: 233.2 kB / 1.156 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006248/1.33, allocations: 312.2 kB / 1.156 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/1.33, allocations: 36.73 kB / 1.156 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=39): time 2.294e-06/1.33, allocations: 1.5 kB / 1.156 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39): time 0.001446/1.332, allocations: 0.6191 MB / 1.157 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.519e-05/1.332, allocations: 55.19 kB / 1.157 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006022/1.333, allocations: 0.4964 MB / 1.158 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.586e-05/1.333, allocations: 31.86 kB / 1.158 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/1.333, allocations: 321.1 kB / 1.158 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/1.333, allocations: 151.3 kB / 1.158 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/1.333, allocations: 92.53 kB / 1.158 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001632/1.333, allocations: 370.7 kB / 1.159 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/1.334, allocations: 174 kB / 1.159 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/1.334, allocations: 278.6 kB / 1.159 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006793/1.335, allocations: 456.8 kB / 1.159 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.335, allocations: 0 / 1.159 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008873/1.336, allocations: 0.5207 MB / 1.16 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/1.336, allocations: 6.031 kB / 1.16 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/1.336, allocations: 2.531 kB / 1.16 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/1.336, allocations: 4.75 kB / 1.16 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007106/1.336, allocations: 135.4 kB / 1.16 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003992/1.337, allocations: 0.5931 MB / 1.161 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005898/1.337, allocations: 49.81 kB / 1.161 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/1.337, allocations: 19.03 kB / 1.161 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005384/1.338, allocations: 356.5 kB / 1.161 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004096/1.338, allocations: 278.1 kB / 1.161 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007174/1.339, allocations: 455.9 kB / 1.162 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.954e-06/1.339, allocations: 1.5 kB / 1.162 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.00091/1.34, allocations: 0.5278 MB / 1.162 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/1.34, allocations: 9.688 kB / 1.162 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/1.34, allocations: 4.219 kB / 1.162 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.306e-06/1.34, allocations: 8.5 kB / 1.162 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004773/1.341, allocations: 119.9 kB / 1.162 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/1.341, allocations: 4.281 kB / 1.162 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005206/1.341, allocations: 42.78 kB / 1.162 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.02e-05/1.341, allocations: 19.81 kB / 1.162 GB, free: 12.09 MB / 0.8731 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.0001993/1.341, allocations: 209.3 kB / 1.163 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/1.342, allocations: 56.06 kB / 1.163 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009285/1.342, allocations: 485.2 kB / 1.163 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/1.342, allocations: 2.875 kB / 1.163 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.342, allocations: 1.344 kB / 1.163 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008405/1.343, allocations: 0.7149 MB / 1.164 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/1.345, allocations: 1.292 MB / 1.165 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.345, allocations: 3.25 kB / 1.165 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005978/1.346, allocations: 119.9 kB / 1.165 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/1.346, allocations: 4.406 kB / 1.165 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/1.346, allocations: 8.844 kB / 1.165 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000322/1.346, allocations: 0.6047 MB / 1.166 GB, free: 9.762 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.346, allocations: 6.266 kB / 1.166 GB, free: 9.758 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/1.348, allocations: 0.7912 MB / 1.167 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003165/1.348, allocations: 181.3 kB / 1.167 GB, free: 9.184 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.522e-05/1.348, allocations: 16.19 kB / 1.167 GB, free: 9.172 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004114/1.348, allocations: 21.3 kB / 1.167 GB, free: 9.164 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.882e-05/1.349, allocations: 30.64 kB / 1.167 GB, free: 9.156 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.952e-05/1.349, allocations: 17.83 kB / 1.167 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004244/1.349, allocations: 347.6 kB / 1.167 GB, free: 8.996 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.349, allocations: 0 / 1.167 GB, free: 8.996 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001007/1.35, allocations: 366.5 kB / 1.168 GB, free: 8.926 MB / 0.8731 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 (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 Backend phase and start with SimCode phase: time 0.0004727/1.351, allocations: 208.4 kB / 1.168 GB, free: 8.801 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001401/1.352, allocations: 0.6631 MB / 1.168 GB, free: 8.598 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.352, allocations: 0 / 1.168 GB, free: 8.598 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003866/1.352, allocations: 226.7 kB / 1.169 GB, free: 8.523 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/1.354, allocations: 364.4 kB / 1.169 GB, free: 8.418 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/1.356, allocations: 1.384 MB / 1.17 GB, free: 7.605 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000568/1.357, allocations: 0.9445 MB / 1.171 GB, free: 6.879 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006704/1.358, allocations: 219.1 kB / 1.171 GB, free: 6.828 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/1.358, allocations: 54.14 kB / 1.171 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of SimCode: time 6.41e-07/1.358, allocations: 0 / 1.171 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of Templates: time 0.02142/1.379, allocations: 12.38 MB / 1.184 GB, free: 1.824 MB / 0.8731 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.Density.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches