Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.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.001339/0.001339, allocations: 114.6 kB / 17.08 MB, free: 5.961 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.001411/0.001411, allocations: 191.7 kB / 20.02 MB, free: 3.043 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.439/1.439, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.931/2.931, allocations: 489.3 MB / 0.7687 GB, free: 3.781 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 59.91 kB / 1.103 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9833/0.9854, allocations: 163.8 MB / 1.263 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.07719/1.063, allocations: 72.77 MB / 1.334 GB, free: 3.91 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03123/1.094, allocations: 18.75 MB / 1.352 GB, free: 6.609 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004636/1.099, allocations: 96.28 kB / 1.352 GB, free: 6.574 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.006403/1.105, allocations: 1.814 MB / 1.354 GB, free: 5.734 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00874/1.114, allocations: 2.51 MB / 1.356 GB, free: 4.262 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.006894/1.121, allocations: 2.17 MB / 1.358 GB, free: 3.129 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01948/1.14, allocations: 10.66 MB / 1.369 GB, free: 14.22 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01394/1.154, allocations: 6.153 MB / 1.375 GB, free: 10.23 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01164/1.166, allocations: 3.379 MB / 1.378 GB, free: 8.309 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005981/1.172, allocations: 2.506 MB / 1.381 GB, free: 6.801 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001437/1.173, allocations: 265.4 kB / 1.381 GB, free: 6.801 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005975/1.179, allocations: 1.548 MB / 1.382 GB, free: 6.113 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001923/1.181, allocations: 0.9069 MB / 1.383 GB, free: 5.438 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.005421/1.187, allocations: 1.955 MB / 1.385 GB, free: 4.145 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01226/1.199, allocations: 5.365 MB / 1.39 GB, free: 0.5898 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/1.199, allocations: 0 / 1.39 GB, free: 0.5898 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.056e-06/1.199, allocations: 1.156 kB / 1.39 GB, free: 0.5898 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002751/1.199, allocations: 0 / 1.39 GB, free: 0.5898 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.01689/1.216, allocations: 4.484 MB / 1.395 GB, free: 13.36 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/1.216, allocations: 9.625 kB / 1.395 GB, free: 13.36 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004318/1.221, allocations: 0.6945 MB / 1.395 GB, free: 13.02 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009697/1.23, allocations: 3.834 MB / 1.399 GB, free: 10.51 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/1.231, allocations: 137.7 kB / 1.399 GB, free: 10.45 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005464/1.231, allocations: 185.2 kB / 1.399 GB, free: 10.4 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004547/1.236, allocations: 2.362 MB / 1.402 GB, free: 8.781 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.452e-05/1.236, allocations: 6.875 kB / 1.402 GB, free: 8.777 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001885/1.236, allocations: 70.38 kB / 1.402 GB, free: 8.727 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.143e-05/1.236, allocations: 45.08 kB / 1.402 GB, free: 8.723 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004109/1.24, allocations: 1.909 MB / 1.404 GB, free: 7.453 MB / 1.092 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.01849/1.259, allocations: 11.39 MB / 1.415 GB, free: 11.59 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003011/1.262, allocations: 1.345 MB / 1.416 GB, free: 10.24 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001757/1.264, allocations: 1.007 MB / 1.417 GB, free: 9.234 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007177/1.271, allocations: 3.736 MB / 1.421 GB, free: 5.223 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001549/1.272, allocations: 0.7702 MB / 1.422 GB, free: 4.441 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001753/1.274, allocations: 243 kB / 1.422 GB, free: 4.203 MB / 1.107 GB Notification: Performance of pre-optimization done (n=94): time 3.887e-06/1.274, allocations: 0 / 1.422 GB, free: 4.203 MB / 1.107 GB Notification: Performance of matching and sorting (n=94): time 0.01333/1.287, allocations: 4.259 MB / 1.426 GB, free: 15.89 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/1.288, allocations: 64.34 kB / 1.426 GB, free: 15.82 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006161/1.294, allocations: 3.454 MB / 1.429 GB, free: 12.34 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.000399/1.294, allocations: 57.7 kB / 1.429 GB, free: 12.27 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001753/1.296, allocations: 1.582 MB / 1.431 GB, free: 10.68 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004954/1.296, allocations: 356.9 kB / 1.431 GB, free: 10.32 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007189/1.297, allocations: 463.6 kB / 1.432 GB, free: 9.867 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001209/1.297, allocations: 305.1 kB / 1.432 GB, free: 9.566 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001723/1.299, allocations: 0.8683 MB / 1.433 GB, free: 8.695 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002448/1.301, allocations: 1.674 MB / 1.435 GB, free: 6.656 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003874/1.305, allocations: 2.267 MB / 1.437 GB, free: 4.172 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/1.305, allocations: 8 kB / 1.437 GB, free: 4.164 MB / 1.123 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.007408/1.313, allocations: 3.347 MB / 1.44 GB, free: 0.793 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 5.985e-05/1.313, allocations: 38.67 kB / 1.44 GB, free: 0.75 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.598e-05/1.313, allocations: 16 kB / 1.44 GB, free: 0.7344 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002484/1.315, allocations: 0.6882 MB / 1.441 GB, free: 40 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/1.317, allocations: 353.2 kB / 1.441 GB, free: 15.69 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/1.319, allocations: 1.909 MB / 1.443 GB, free: 13.73 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003186/1.323, allocations: 124.3 kB / 1.443 GB, free: 13.61 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003174/1.323, allocations: 99.89 kB / 1.443 GB, free: 13.51 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003572/1.327, allocations: 1.581 MB / 1.445 GB, free: 11.93 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002427/1.329, allocations: 1.649 MB / 1.446 GB, free: 9.914 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003758/1.333, allocations: 2.195 MB / 1.448 GB, free: 7.492 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.207e-06/1.333, allocations: 4 kB / 1.448 GB, free: 7.488 MB / 1.139 GB Notification: Performance of matching and sorting (n=249) (initialization_lambda0): time 0.006801/1.34, allocations: 3.235 MB / 1.452 GB, free: 4.207 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 6.686e-05/1.34, allocations: 45.69 kB / 1.452 GB, free: 4.156 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/1.34, allocations: 16 kB / 1.452 GB, free: 4.141 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/1.341, allocations: 473.8 kB / 1.452 GB, free: 3.672 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/1.342, allocations: 349.3 kB / 1.452 GB, free: 3.332 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00833/1.35, allocations: 6.339 MB / 1.459 GB, free: 12.7 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003059/1.354, allocations: 136.8 kB / 1.459 GB, free: 12.56 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003162/1.354, allocations: 92.02 kB / 1.459 GB, free: 12.47 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 164 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005918/1.354, allocations: 306.4 kB / 1.459 GB, free: 12.17 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008865/1.355, allocations: 349.7 kB / 1.46 GB, free: 11.82 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005513/1.361, allocations: 2.466 MB / 1.462 GB, free: 9.34 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/1.361, allocations: 15.94 kB / 1.462 GB, free: 9.324 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/1.361, allocations: 0 / 1.462 GB, free: 9.324 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003864/1.365, allocations: 2.07 MB / 1.464 GB, free: 7.18 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009678/1.374, allocations: 4.576 MB / 1.468 GB, free: 2.527 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/1.375, allocations: 3.938 kB / 1.468 GB, free: 2.523 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008853/1.375, allocations: 169.7 kB / 1.469 GB, free: 2.355 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001172/1.377, allocations: 469 kB / 1.469 GB, free: 1.891 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.585e-05/1.377, allocations: 35.97 kB / 1.469 GB, free: 1.855 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002003/1.379, allocations: 1.861 MB / 1.471 GB, free: 15.94 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/1.379, allocations: 0 / 1.471 GB, free: 15.94 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006938/1.386, allocations: 3.193 MB / 1.474 GB, free: 12.72 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001864/1.388, allocations: 0.5533 MB / 1.475 GB, free: 12.14 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005154/1.388, allocations: 23.94 kB / 1.475 GB, free: 12.12 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/1.389, allocations: 79.88 kB / 1.475 GB, free: 12.04 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/1.39, allocations: 80.89 kB / 1.475 GB, free: 11.96 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/1.39, allocations: 43.97 kB / 1.475 GB, free: 11.92 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.004225/1.394, allocations: 2.338 MB / 1.477 GB, free: 9.57 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.244e-06/1.394, allocations: 0 / 1.477 GB, free: 9.57 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.006167/1.4, allocations: 1.525 MB / 1.479 GB, free: 8.043 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00179/1.402, allocations: 0.5958 MB / 1.479 GB, free: 7.445 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.007724/1.41, allocations: 3.734 MB / 1.483 GB, free: 3.66 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/1.41, allocations: 0 / 1.483 GB, free: 3.66 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001863/1.412, allocations: 0.7959 MB / 1.484 GB, free: 2.863 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007349/1.419, allocations: 1.453 MB / 1.485 GB, free: 1.43 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/1.432, allocations: 6.117 MB / 1.491 GB, free: 11.27 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00217/1.434, allocations: 2.233 MB / 1.493 GB, free: 9.004 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/1.435, allocations: 251.3 kB / 1.493 GB, free: 8.758 MB / 1.186 GB Notification: Performance of SimCode: time 1.363e-06/1.436, allocations: 0 / 1.493 GB, free: 8.758 MB / 1.186 GB Notification: Performance of Templates: time 0.1242/1.56, allocations: 84.54 MB / 1.576 GB, free: 4.551 MB / 1.264 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example1v1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.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: 21.796960748033598]