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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00209/0.00209, allocations: 189.1 kB / 22.23 MB, free: 5.094 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 225.6 MB / 251 MB, free: 13.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.755/2.755, allocations: 476.7 MB / 0.7646 GB, free: 9.871 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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=2500,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=2500,variableFilter="time|masFloRat.ports.1..m_flow|senDenVol.d|senDenFlo.d",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.Density") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 71.88 kB / 1.11 GB, free: 6.316 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9165/0.9185, allocations: 168.8 MB / 1.274 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.2486/1.167, allocations: 186 MB / 1.456 GB, free: 9.512 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0127/1.18, allocations: 7.037 MB / 1.463 GB, free: 2.457 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/1.181, allocations: 43.62 kB / 1.463 GB, free: 2.414 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/1.183, allocations: 417.4 kB / 1.463 GB, free: 2.004 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004838/1.188, allocations: 1.529 MB / 1.465 GB, free: 480 kB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003907/1.192, allocations: 1.209 MB / 1.466 GB, free: 15.26 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003594/1.195, allocations: 2.003 MB / 1.468 GB, free: 13.25 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/1.196, allocations: 0.4975 MB / 1.468 GB, free: 12.74 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002432/1.199, allocations: 0.868 MB / 1.469 GB, free: 11.87 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001979/1.201, allocations: 0.6389 MB / 1.47 GB, free: 11.23 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002357/1.201, allocations: 68 kB / 1.47 GB, free: 11.16 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004924/1.206, allocations: 2.058 MB / 1.472 GB, free: 9.102 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000593/1.207, allocations: 307 kB / 1.472 GB, free: 8.801 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001086/1.208, allocations: 426.1 kB / 1.473 GB, free: 8.383 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.006142/1.214, allocations: 1.771 MB / 1.474 GB, free: 6.609 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 1.145e-05/1.214, allocations: 0 / 1.474 GB, free: 6.609 MB / 1.17 GB Notification: Performance of FrontEnd: time 3.677e-06/1.214, allocations: 0 / 1.474 GB, free: 6.609 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.475e-05/1.214, allocations: 0 / 1.474 GB, free: 6.609 MB / 1.17 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.003902/1.218, allocations: 1.126 MB / 1.476 GB, free: 5.449 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 6.604e-05/1.218, allocations: 12.03 kB / 1.476 GB, free: 5.438 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002474/1.22, allocations: 271.2 kB / 1.476 GB, free: 5.172 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001674/1.222, allocations: 0.5466 MB / 1.476 GB, free: 4.602 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.129e-05/1.222, allocations: 49.31 kB / 1.476 GB, free: 4.555 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/1.222, allocations: 52 kB / 1.476 GB, free: 4.504 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/1.224, allocations: 0.6362 MB / 1.477 GB, free: 3.852 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/1.224, allocations: 7.875 kB / 1.477 GB, free: 3.844 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-05/1.224, allocations: 24 kB / 1.477 GB, free: 3.82 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.665e-05/1.224, allocations: 21.31 kB / 1.477 GB, free: 3.797 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/1.225, allocations: 0.5204 MB / 1.478 GB, free: 3.273 MB / 1.17 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.004175/1.229, allocations: 2.413 MB / 1.48 GB, free: 0.6484 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007245/1.23, allocations: 342 kB / 1.48 GB, free: 316 kB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004095/1.23, allocations: 225.4 kB / 1.48 GB, free: 88 kB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004829/1.231, allocations: 76.23 kB / 1.481 GB, free: 12 kB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.943e-05/1.231, allocations: 38.89 kB / 1.481 GB, free: 15.96 MB / 1.186 GB Notification: Performance of pre-optimization done (n=39): time 4.539e-06/1.231, allocations: 3.984 kB / 1.481 GB, free: 15.96 MB / 1.186 GB Notification: Performance of matching and sorting (n=39): time 0.001619/1.233, allocations: 0.616 MB / 1.481 GB, free: 15.34 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/1.233, allocations: 59.34 kB / 1.481 GB, free: 15.27 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007687/1.233, allocations: 0.4951 MB / 1.482 GB, free: 14.76 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.737e-05/1.234, allocations: 41.7 kB / 1.482 GB, free: 14.71 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003042/1.234, allocations: 328.9 kB / 1.482 GB, free: 14.39 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/1.234, allocations: 142.8 kB / 1.482 GB, free: 14.25 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/1.234, allocations: 90.08 kB / 1.482 GB, free: 14.16 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002144/1.234, allocations: 370.7 kB / 1.483 GB, free: 13.79 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003797/1.235, allocations: 170.5 kB / 1.483 GB, free: 13.62 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000493/1.235, allocations: 295.3 kB / 1.483 GB, free: 13.29 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008213/1.236, allocations: 452.2 kB / 1.484 GB, free: 12.81 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/1.236, allocations: 0 / 1.484 GB, free: 12.81 MB / 1.186 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001111/1.237, allocations: 0.5281 MB / 1.484 GB, free: 12.28 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/1.237, allocations: 4 kB / 1.484 GB, free: 12.27 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/1.237, allocations: 4.281 kB / 1.484 GB, free: 12.27 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/1.237, allocations: 8 kB / 1.484 GB, free: 12.26 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007433/1.238, allocations: 131.8 kB / 1.484 GB, free: 12.13 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004697/1.238, allocations: 0.5977 MB / 1.485 GB, free: 11.51 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005721/1.239, allocations: 51.75 kB / 1.485 GB, free: 11.46 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.719e-05/1.239, allocations: 20 kB / 1.485 GB, free: 11.44 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005962/1.24, allocations: 352.8 kB / 1.485 GB, free: 11.09 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004399/1.24, allocations: 279.4 kB / 1.485 GB, free: 10.79 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007896/1.241, allocations: 448.4 kB / 1.486 GB, free: 10.32 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.046e-06/1.241, allocations: 0 / 1.486 GB, free: 10.32 MB / 1.186 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001043/1.242, allocations: 0.5242 MB / 1.486 GB, free: 9.785 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/1.242, allocations: 8 kB / 1.486 GB, free: 9.777 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/1.242, allocations: 7.984 kB / 1.486 GB, free: 9.77 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/1.242, allocations: 7.938 kB / 1.486 GB, free: 9.762 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005131/1.243, allocations: 111.9 kB / 1.487 GB, free: 9.652 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/1.243, allocations: 8 kB / 1.487 GB, free: 9.645 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005389/1.243, allocations: 47.95 kB / 1.487 GB, free: 9.598 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/1.243, allocations: 23.94 kB / 1.487 GB, free: 9.574 MB / 1.186 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.0002112/1.243, allocations: 201.8 kB / 1.487 GB, free: 9.371 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/1.243, allocations: 71.5 kB / 1.487 GB, free: 9.301 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009971/1.244, allocations: 494.7 kB / 1.487 GB, free: 8.809 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/1.244, allocations: 11.94 kB / 1.487 GB, free: 8.797 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.244, allocations: 4 kB / 1.487 GB, free: 8.793 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009386/1.245, allocations: 0.6949 MB / 1.488 GB, free: 8.012 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/1.248, allocations: 1.261 MB / 1.489 GB, free: 6.68 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/1.248, allocations: 7.922 kB / 1.489 GB, free: 6.672 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007835/1.249, allocations: 120.1 kB / 1.489 GB, free: 6.555 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/1.249, allocations: 8 kB / 1.489 GB, free: 6.547 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.477e-05/1.249, allocations: 15.98 kB / 1.489 GB, free: 6.531 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005044/1.249, allocations: 0.5937 MB / 1.49 GB, free: 5.914 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.487e-05/1.249, allocations: 7.969 kB / 1.49 GB, free: 5.906 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/1.251, allocations: 0.7911 MB / 1.491 GB, free: 5.074 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003182/1.251, allocations: 111.5 kB / 1.491 GB, free: 4.965 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/1.251, allocations: 11.94 kB / 1.491 GB, free: 4.953 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005912/1.252, allocations: 19.98 kB / 1.491 GB, free: 4.934 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.14e-05/1.252, allocations: 31.88 kB / 1.491 GB, free: 4.902 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/1.252, allocations: 16 kB / 1.491 GB, free: 4.887 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005208/1.252, allocations: 350.8 kB / 1.491 GB, free: 4.547 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/1.252, allocations: 0 / 1.491 GB, free: 4.547 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001154/1.253, allocations: 367.3 kB / 1.492 GB, free: 4.188 MB / 1.186 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.0005743/1.254, allocations: 203.5 kB / 1.492 GB, free: 3.988 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001694/1.256, allocations: 0.6364 MB / 1.492 GB, free: 3.352 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/1.256, allocations: 0 / 1.492 GB, free: 3.352 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0004687/1.256, allocations: 212.8 kB / 1.493 GB, free: 3.145 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/1.258, allocations: 371.3 kB / 1.493 GB, free: 2.789 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/1.261, allocations: 1.417 MB / 1.494 GB, free: 1.32 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006748/1.261, allocations: 0.9494 MB / 1.495 GB, free: 352 kB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0006972/1.262, allocations: 212.9 kB / 1.496 GB, free: 140 kB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/1.262, allocations: 47.44 kB / 1.496 GB, free: 92 kB / 1.186 GB Notification: Performance of SimCode: time 6.41e-07/1.262, allocations: 0 / 1.496 GB, free: 92 kB / 1.186 GB Notification: Performance of Templates: time 0.0262/1.288, allocations: 12.85 MB / 1.508 GB, free: 3.426 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.Density.makefile [Timeout 300] (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) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.Density.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.851971089839935]