Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001779/0.001779, allocations: 106 kB / 15.99 MB, free: 6.352 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.002064/0.002064, allocations: 193.2 kB / 16.91 MB, free: 6.195 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.413/1.413, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.703/2.703, allocations: 469.8 MB / 0.7427 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 68.08 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3284, allocations: 159.2 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.7683/1.097, allocations: 182.6 MB / 1.242 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01088/1.108, allocations: 6.923 MB / 1.249 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/1.109, allocations: 31.81 kB / 1.249 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/1.11, allocations: 350.1 kB / 1.25 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003818/1.114, allocations: 1.367 MB / 1.251 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003092/1.117, allocations: 1.072 MB / 1.252 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002786/1.12, allocations: 1.937 MB / 1.254 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/1.121, allocations: 0.6384 MB / 1.255 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001886/1.123, allocations: 0.8289 MB / 1.255 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/1.124, allocations: 0.6399 MB / 1.256 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000122/1.125, allocations: 71.98 kB / 1.256 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003931/1.128, allocations: 1.995 MB / 1.258 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003788/1.129, allocations: 291.2 kB / 1.258 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005755/1.129, allocations: 434 kB / 1.259 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002262/1.132, allocations: 1.283 MB / 1.26 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.132, allocations: 0 / 1.26 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.533e-06/1.132, allocations: 4 kB / 1.26 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.059e-05/1.132, allocations: 0 / 1.26 GB, free: 0.668 MB / 0.9669 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.002053/1.134, allocations: 1.157 MB / 1.261 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/1.134, allocations: 8.031 kB / 1.261 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001963/1.136, allocations: 278.7 kB / 1.261 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/1.137, allocations: 0.5792 MB / 1.262 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.971e-05/1.137, allocations: 45.3 kB / 1.262 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-05/1.137, allocations: 52 kB / 1.262 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/1.138, allocations: 0.6401 MB / 1.263 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/1.138, allocations: 0 / 1.263 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.843e-05/1.138, allocations: 23.94 kB / 1.263 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.331e-05/1.138, allocations: 21.31 kB / 1.263 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/1.139, allocations: 0.5204 MB / 1.263 GB, free: 13.24 MB / 0.9825 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.003544/1.143, allocations: 2.446 MB / 1.266 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000746/1.144, allocations: 367.4 kB / 1.266 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004096/1.144, allocations: 235.4 kB / 1.266 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006344/1.145, allocations: 311.6 kB / 1.266 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/1.145, allocations: 38.89 kB / 1.266 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=39): time 2.455e-06/1.145, allocations: 0 / 1.266 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of matching and sorting (n=39): time 0.001498/1.146, allocations: 0.6221 MB / 1.267 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/1.146, allocations: 55.41 kB / 1.267 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000621/1.147, allocations: 0.4912 MB / 1.268 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.696e-05/1.147, allocations: 29.7 kB / 1.268 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/1.147, allocations: 336.4 kB / 1.268 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/1.148, allocations: 134 kB / 1.268 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/1.148, allocations: 82.14 kB / 1.268 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001995/1.148, allocations: 378.7 kB / 1.268 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/1.148, allocations: 178.4 kB / 1.269 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004651/1.149, allocations: 279.4 kB / 1.269 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007679/1.15, allocations: 456.2 kB / 1.269 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.15, allocations: 0 / 1.269 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001004/1.151, allocations: 0.5239 MB / 1.27 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/1.151, allocations: 8 kB / 1.27 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/1.151, allocations: 0.9375 kB / 1.27 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/1.151, allocations: 4 kB / 1.27 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000773/1.151, allocations: 137.9 kB / 1.27 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004515/1.152, allocations: 0.5979 MB / 1.271 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006936/1.153, allocations: 83.56 kB / 1.271 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/1.153, allocations: 23.94 kB / 1.271 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005849/1.153, allocations: 348.9 kB / 1.271 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004438/1.154, allocations: 287.4 kB / 1.271 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007365/1.155, allocations: 444.4 kB / 1.272 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.861e-06/1.155, allocations: 4 kB / 1.272 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.000952/1.155, allocations: 0.5278 MB / 1.272 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/1.155, allocations: 4 kB / 1.272 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/1.156, allocations: 4 kB / 1.272 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/1.156, allocations: 7.938 kB / 1.272 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005136/1.156, allocations: 120.1 kB / 1.272 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/1.156, allocations: 4 kB / 1.272 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005925/1.157, allocations: 75.62 kB / 1.272 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/1.157, allocations: 16 kB / 1.272 GB, free: 3.148 MB / 0.9825 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.0002051/1.157, allocations: 204.1 kB / 1.273 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/1.157, allocations: 64.12 kB / 1.273 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009783/1.158, allocations: 484 kB / 1.273 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/1.158, allocations: 7.938 kB / 1.273 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.158, allocations: 1.5 kB / 1.273 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009051/1.159, allocations: 0.7069 MB / 1.274 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002164/1.161, allocations: 1.281 MB / 1.275 GB, free: 240 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/1.161, allocations: 4 kB / 1.275 GB, free: 236 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006428/1.162, allocations: 132 kB / 1.275 GB, free: 104 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/1.162, allocations: 4 kB / 1.275 GB, free: 100 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/1.162, allocations: 15.98 kB / 1.275 GB, free: 84 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003965/1.162, allocations: 0.5937 MB / 1.276 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.162, allocations: 0 / 1.276 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/1.164, allocations: 0.7901 MB / 1.277 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002918/1.164, allocations: 184.2 kB / 1.277 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.824e-05/1.164, allocations: 16.06 kB / 1.277 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005025/1.164, allocations: 47.95 kB / 1.277 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.542e-05/1.165, allocations: 31.91 kB / 1.277 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/1.165, allocations: 15.98 kB / 1.277 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004414/1.165, allocations: 350.8 kB / 1.277 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.165, allocations: 0 / 1.277 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001008/1.166, allocations: 371 kB / 1.278 GB, free: 13.62 MB / 0.9981 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.0005134/1.167, allocations: 215 kB / 1.278 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001639/1.168, allocations: 0.7112 MB / 1.279 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.168, allocations: 0 / 1.279 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004403/1.169, allocations: 221 kB / 1.279 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/1.17, allocations: 355.4 kB / 1.279 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002883/1.173, allocations: 1.688 MB / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006549/1.174, allocations: 0.9458 MB / 1.282 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/1.174, allocations: 59.42 kB / 1.282 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/1.174, allocations: 4 kB / 1.282 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of Templates: time 0.02037/1.195, allocations: 12.96 MB / 1.294 GB, free: 12.5 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.Density_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_Density.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.Density.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches