Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001443/0.001443, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001745/0.001745, allocations: 193.6 kB / 16.14 MB, free: 6.652 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.513/1.513, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.53/2.53, allocations: 437 MB / 0.7099 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.91 kB / 0.8685 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6569/0.6582, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.2015/0.8598, allocations: 182.8 MB / 1.195 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01363/0.8735, allocations: 7.074 MB / 1.202 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/0.875, allocations: 23.88 kB / 1.202 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001663/0.8767, allocations: 330.1 kB / 1.202 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004384/0.8811, allocations: 1.373 MB / 1.204 GB, free: 2.469 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00331/0.8845, allocations: 1.046 MB / 1.205 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00311/0.8876, allocations: 2.71 MB / 1.207 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.8886, allocations: 0.5526 MB / 1.208 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001689/0.8903, allocations: 0.7275 MB / 1.209 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001533/0.8919, allocations: 0.6247 MB / 1.209 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.8921, allocations: 36 kB / 1.209 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003959/0.896, allocations: 2.198 MB / 1.211 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003919/0.8964, allocations: 267.2 kB / 1.212 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006273/0.8971, allocations: 394.1 kB / 1.212 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003088/0.9002, allocations: 1.835 MB / 1.214 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.9002, allocations: 0 / 1.214 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.092e-06/0.9002, allocations: 0 / 1.214 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.164e-05/0.9002, allocations: 0 / 1.214 GB, free: 8.066 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.002337/0.9026, allocations: 1.165 MB / 1.215 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.9026, allocations: 11.97 kB / 1.215 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00202/0.9046, allocations: 274.8 kB / 1.215 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009384/0.9056, allocations: 0.5752 MB / 1.216 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/0.9056, allocations: 41.31 kB / 1.216 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.983e-05/0.9057, allocations: 52 kB / 1.216 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.9068, allocations: 0.6323 MB / 1.217 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.9069, allocations: 7.938 kB / 1.217 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.383e-05/0.9069, allocations: 24 kB / 1.217 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.048e-05/0.907, allocations: 21.31 kB / 1.217 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009406/0.9079, allocations: 0.5164 MB / 1.217 GB, free: 4.641 MB / 0.9669 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.002964/0.9109, allocations: 2.449 MB / 1.219 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006638/0.9116, allocations: 367.5 kB / 1.22 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003865/0.912, allocations: 243 kB / 1.22 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005984/0.9126, allocations: 303.6 kB / 1.22 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.9126, allocations: 46.88 kB / 1.22 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=39): time 2.034e-06/0.9126, allocations: 0 / 1.22 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39): time 0.001471/0.9141, allocations: 0.6076 MB / 1.221 GB, free: 364 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.9141, allocations: 55.41 kB / 1.221 GB, free: 296 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006248/0.9148, allocations: 0.5029 MB / 1.222 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.466e-05/0.9148, allocations: 29.7 kB / 1.222 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.9151, allocations: 332.4 kB / 1.222 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.9152, allocations: 134 kB / 1.222 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.9154, allocations: 86.03 kB / 1.222 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.9155, allocations: 370.7 kB / 1.222 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.9159, allocations: 174.5 kB / 1.223 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004256/0.9163, allocations: 283.4 kB / 1.223 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007111/0.9171, allocations: 464.2 kB / 1.223 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.9171, allocations: 0 / 1.223 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009184/0.918, allocations: 0.5238 MB / 1.224 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.918, allocations: 8 kB / 1.224 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.079e-05/0.9181, allocations: 4.281 kB / 1.224 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.9181, allocations: 4 kB / 1.224 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007878/0.9189, allocations: 131.8 kB / 1.224 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003924/0.9193, allocations: 0.5938 MB / 1.225 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007006/0.92, allocations: 83.58 kB / 1.225 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/0.9201, allocations: 20 kB / 1.225 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005494/0.9206, allocations: 352.8 kB / 1.225 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004234/0.9211, allocations: 279.4 kB / 1.225 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006971/0.9218, allocations: 448.4 kB / 1.226 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-06/0.9218, allocations: 0 / 1.226 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008925/0.9227, allocations: 0.528 MB / 1.226 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.9227, allocations: 4 kB / 1.226 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.9227, allocations: 4 kB / 1.226 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.9227, allocations: 7.938 kB / 1.226 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005261/0.9232, allocations: 123.7 kB / 1.226 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.9233, allocations: 11.97 kB / 1.226 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006105/0.9239, allocations: 71.8 kB / 1.226 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/0.9239, allocations: 20 kB / 1.226 GB, free: 10.55 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.000164/0.9241, allocations: 204.1 kB / 1.227 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.9242, allocations: 67.19 kB / 1.227 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009226/0.9251, allocations: 486.8 kB / 1.227 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/0.9252, allocations: 7.984 kB / 1.227 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.9252, allocations: 4 kB / 1.227 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008127/0.926, allocations: 0.7027 MB / 1.228 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00196/0.928, allocations: 1.281 MB / 1.229 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.928, allocations: 8 kB / 1.229 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006511/0.9286, allocations: 119.8 kB / 1.229 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/0.9287, allocations: 4 kB / 1.229 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/0.9287, allocations: 8.219 kB / 1.229 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003028/0.929, allocations: 0.6054 MB / 1.23 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.929, allocations: 0 / 1.23 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.9303, allocations: 0.7946 MB / 1.231 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/0.9305, allocations: 176.3 kB / 1.231 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.551e-05/0.9306, allocations: 19.92 kB / 1.231 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005186/0.9311, allocations: 39.97 kB / 1.231 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.049e-05/0.9312, allocations: 36.05 kB / 1.231 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.9313, allocations: 12 kB / 1.231 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004172/0.9317, allocations: 358.8 kB / 1.231 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9317, allocations: 0 / 1.231 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001031/0.9327, allocations: 363.1 kB / 1.232 GB, free: 5.031 MB / 0.9825 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.0004814/0.9332, allocations: 213.5 kB / 1.232 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001499/0.9347, allocations: 0.6647 MB / 1.232 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.9348, allocations: 0 / 1.232 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004207/0.9352, allocations: 227.6 kB / 1.233 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/0.937, allocations: 366.7 kB / 1.233 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.9394, allocations: 1.638 MB / 1.235 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005106/0.9399, allocations: 0.9573 MB / 1.236 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0007394/0.9407, allocations: 205 kB / 1.236 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.9408, allocations: 47.44 kB / 1.236 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.9408, allocations: 0 / 1.236 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of Templates: time 0.02229/0.9631, allocations: 11.93 MB / 1.247 GB, free: 4.922 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.Density_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_Density.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.Density.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches