Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 217 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.253/3.253, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Fluid.Sensors.Examples.Density") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 61.94 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3705, allocations: 181.9 MB / 1.365 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.218/0.5885, allocations: 163.6 MB / 1.524 GB, free: 9.352 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01134/0.5999, allocations: 6.478 MB / 1.531 GB, free: 2.855 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001186/0.6011, allocations: 39.69 kB / 1.531 GB, free: 2.816 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.6025, allocations: 393.5 kB / 1.531 GB, free: 2.43 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004082/0.6066, allocations: 1.49 MB / 1.533 GB, free: 0.9336 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00319/0.6098, allocations: 1.186 MB / 1.534 GB, free: 15.75 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.002745/0.6125, allocations: 1.983 MB / 1.536 GB, free: 13.76 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007822/0.6133, allocations: 0.4936 MB / 1.536 GB, free: 13.25 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002213/0.6155, allocations: 1.086 MB / 1.537 GB, free: 12.16 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.6169, allocations: 0.6038 MB / 1.538 GB, free: 11.56 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.6171, allocations: 68 kB / 1.538 GB, free: 11.5 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003406/0.6205, allocations: 1.562 MB / 1.539 GB, free: 9.93 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0003523/0.6208, allocations: 311 kB / 1.54 GB, free: 9.625 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0004413/0.6213, allocations: 354.5 kB / 1.54 GB, free: 9.277 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002793/0.6241, allocations: 1.717 MB / 1.542 GB, free: 7.555 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.6241, allocations: 3.938 kB / 1.542 GB, free: 7.551 MB / 1.232 GB Notification: Performance of FrontEnd: time 5.35e-06/0.6241, allocations: 3.984 kB / 1.542 GB, free: 7.547 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.6241, allocations: 0 / 1.542 GB, free: 7.547 MB / 1.232 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.001904/0.626, allocations: 1.107 MB / 1.543 GB, free: 6.406 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.626, allocations: 8.031 kB / 1.543 GB, free: 6.398 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001846/0.6279, allocations: 283.2 kB / 1.543 GB, free: 6.121 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.6291, allocations: 0.5487 MB / 1.544 GB, free: 5.543 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.593e-05/0.6291, allocations: 45.3 kB / 1.544 GB, free: 5.5 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.6293, allocations: 56 kB / 1.544 GB, free: 5.445 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.6305, allocations: 0.7288 MB / 1.544 GB, free: 4.676 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.6305, allocations: 3.938 kB / 1.544 GB, free: 4.672 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.89e-05/0.6306, allocations: 27.98 kB / 1.544 GB, free: 4.645 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.26e-05/0.6306, allocations: 17.31 kB / 1.545 GB, free: 4.625 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.6316, allocations: 0.5204 MB / 1.545 GB, free: 4.105 MB / 1.232 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.002795/0.6344, allocations: 1.541 MB / 1.547 GB, free: 2.527 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006918/0.6351, allocations: 351.5 kB / 1.547 GB, free: 2.176 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003928/0.6355, allocations: 225.3 kB / 1.547 GB, free: 1.953 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004689/0.636, allocations: 84.17 kB / 1.547 GB, free: 1.871 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.636, allocations: 34.89 kB / 1.547 GB, free: 1.828 MB / 1.232 GB Notification: Performance of pre-optimization done (n=39): time 2.554e-06/0.636, allocations: 4 kB / 1.547 GB, free: 1.824 MB / 1.232 GB Notification: Performance of matching and sorting (n=39): time 0.001433/0.6375, allocations: 0.6122 MB / 1.548 GB, free: 1.207 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.6375, allocations: 55.41 kB / 1.548 GB, free: 1.141 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005636/0.6381, allocations: 466 kB / 1.548 GB, free: 0.6758 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.846e-05/0.6381, allocations: 33.7 kB / 1.548 GB, free: 0.6367 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000283/0.6384, allocations: 332.8 kB / 1.549 GB, free: 312 kB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.6386, allocations: 150.7 kB / 1.549 GB, free: 160 kB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.6387, allocations: 86.08 kB / 1.549 GB, free: 68 kB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002192/0.6389, allocations: 370.7 kB / 1.549 GB, free: 15.7 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.6393, allocations: 174.5 kB / 1.549 GB, free: 15.52 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005283/0.6398, allocations: 441.6 kB / 1.55 GB, free: 15.02 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007599/0.6406, allocations: 449 kB / 1.55 GB, free: 14.55 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.6406, allocations: 7.938 kB / 1.55 GB, free: 14.54 MB / 1.248 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009425/0.6415, allocations: 0.5165 MB / 1.551 GB, free: 14.02 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.6415, allocations: 4 kB / 1.551 GB, free: 14.01 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.629e-06/0.6415, allocations: 4 kB / 1.551 GB, free: 14.01 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.6416, allocations: 8.281 kB / 1.551 GB, free: 14 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007048/0.6423, allocations: 131.8 kB / 1.551 GB, free: 13.87 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004434/0.6427, allocations: 0.5976 MB / 1.551 GB, free: 13.25 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005019/0.6432, allocations: 43.77 kB / 1.552 GB, free: 13.21 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.918e-05/0.6433, allocations: 20 kB / 1.552 GB, free: 13.19 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005481/0.6438, allocations: 362 kB / 1.552 GB, free: 12.83 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005153/0.6443, allocations: 433.6 kB / 1.552 GB, free: 12.33 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007339/0.6451, allocations: 452.4 kB / 1.553 GB, free: 11.86 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.753e-06/0.6451, allocations: 0 / 1.553 GB, free: 11.86 MB / 1.248 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009132/0.646, allocations: 0.5242 MB / 1.553 GB, free: 11.32 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.646, allocations: 12.28 kB / 1.553 GB, free: 11.31 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-06/0.646, allocations: 0 / 1.553 GB, free: 11.31 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.502e-06/0.646, allocations: 4 kB / 1.553 GB, free: 11.31 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005012/0.6465, allocations: 123.7 kB / 1.553 GB, free: 11.19 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.6465, allocations: 4 kB / 1.553 GB, free: 11.18 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004723/0.647, allocations: 43.77 kB / 1.553 GB, free: 11.14 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/0.647, allocations: 19.94 kB / 1.553 GB, free: 11.12 MB / 1.248 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.0001854/0.6472, allocations: 212.1 kB / 1.554 GB, free: 10.91 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.944e-05/0.6473, allocations: 55.67 kB / 1.554 GB, free: 10.85 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009364/0.6482, allocations: 486.5 kB / 1.554 GB, free: 10.37 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.6482, allocations: 4 kB / 1.554 GB, free: 10.36 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.6482, allocations: 0 / 1.554 GB, free: 10.36 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008669/0.6491, allocations: 0.7066 MB / 1.555 GB, free: 9.57 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002154/0.6513, allocations: 1.109 MB / 1.556 GB, free: 8.402 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.6513, allocations: 4 kB / 1.556 GB, free: 8.398 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006366/0.6519, allocations: 128.1 kB / 1.556 GB, free: 8.273 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.6519, allocations: 4 kB / 1.556 GB, free: 8.27 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.875e-05/0.652, allocations: 11.98 kB / 1.556 GB, free: 8.258 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004437/0.6524, allocations: 0.5899 MB / 1.557 GB, free: 7.645 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/0.6524, allocations: 7.969 kB / 1.557 GB, free: 7.637 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.6537, allocations: 0.7986 MB / 1.557 GB, free: 6.797 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002702/0.654, allocations: 107.5 kB / 1.558 GB, free: 6.691 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.466e-05/0.654, allocations: 12 kB / 1.558 GB, free: 6.68 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004089/0.6545, allocations: 19.98 kB / 1.558 GB, free: 6.66 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.362e-05/0.6545, allocations: 31.89 kB / 1.558 GB, free: 6.629 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/0.6546, allocations: 15.98 kB / 1.558 GB, free: 6.613 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0003829/0.655, allocations: 318.9 kB / 1.558 GB, free: 6.305 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.655, allocations: 3.938 kB / 1.558 GB, free: 6.301 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001023/0.656, allocations: 371.2 kB / 1.558 GB, free: 5.938 MB / 1.248 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.0004097/0.6564, allocations: 197.8 kB / 1.558 GB, free: 5.738 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001497/0.6579, allocations: 0.6292 MB / 1.559 GB, free: 5.109 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/0.6579, allocations: 4 kB / 1.559 GB, free: 5.105 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0004232/0.6583, allocations: 215.9 kB / 1.559 GB, free: 4.895 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.6598, allocations: 321.9 kB / 1.56 GB, free: 4.586 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.6622, allocations: 1.474 MB / 1.561 GB, free: 3.051 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.6625, allocations: 353.2 kB / 1.561 GB, free: 2.68 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.6627, allocations: 47.44 kB / 1.561 GB, free: 2.633 MB / 1.248 GB Notification: Performance of SimCode: time 6.61e-07/0.6627, allocations: 0 / 1.561 GB, free: 2.633 MB / 1.248 GB Notification: Performance of Templates: time 0.01913/0.6818, allocations: 13 MB / 1.574 GB, free: 5.707 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Density_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Density.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 13.96096550906077]