Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.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.001801/0.001801, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002224/0.002224, allocations: 210.1 kB / 22.99 MB, free: 4.98 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.132/3.132, allocations: 0.49 GB / 0.7959 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw") [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.002053/0.002053, allocations: 67.56 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2815, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2042/0.4857, allocations: 170.5 MB / 1.494 GB, free: 5.91 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006175/0.4919, allocations: 3.787 MB / 1.497 GB, free: 2.117 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003409/0.4922, allocations: 27.81 kB / 1.497 GB, free: 2.09 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.4933, allocations: 457 kB / 1.498 GB, free: 1.641 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003151/0.4965, allocations: 1.555 MB / 1.499 GB, free: 84 kB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00307/0.4995, allocations: 1.397 MB / 1.501 GB, free: 14.68 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00184/0.5014, allocations: 1.639 MB / 1.502 GB, free: 13.04 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.5024, allocations: 0.846 MB / 1.503 GB, free: 12.18 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001615/0.5041, allocations: 1.122 MB / 1.504 GB, free: 11.05 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.5052, allocations: 0.9111 MB / 1.505 GB, free: 10.14 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000176/0.5054, allocations: 100 kB / 1.505 GB, free: 10.04 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00178/0.5072, allocations: 1.102 MB / 1.506 GB, free: 8.938 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003841/0.5076, allocations: 370.9 kB / 1.507 GB, free: 8.574 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005079/0.5081, allocations: 458.2 kB / 1.507 GB, free: 8.125 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00214/0.5102, allocations: 1.635 MB / 1.509 GB, free: 6.484 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.5102, allocations: 4 kB / 1.509 GB, free: 6.48 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5102, allocations: 0 / 1.509 GB, free: 6.48 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.5102, allocations: 4 kB / 1.509 GB, free: 6.477 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002925/0.5132, allocations: 1.192 MB / 1.51 GB, free: 5.246 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.5132, allocations: 12.03 kB / 1.51 GB, free: 5.234 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001625/0.5148, allocations: 231.2 kB / 1.51 GB, free: 5.008 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.5159, allocations: 0.5615 MB / 1.511 GB, free: 4.414 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.918e-05/0.5159, allocations: 37 kB / 1.511 GB, free: 4.379 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.5161, allocations: 48 kB / 1.511 GB, free: 4.332 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.5178, allocations: 1.054 MB / 1.512 GB, free: 3.199 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.5178, allocations: 3.938 kB / 1.512 GB, free: 3.195 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.054e-05/0.5179, allocations: 28 kB / 1.512 GB, free: 3.168 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-05/0.518, allocations: 27.98 kB / 1.512 GB, free: 3.141 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.5197, allocations: 1.007 MB / 1.513 GB, free: 2.133 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005298/0.525, allocations: 3.588 MB / 1.516 GB, free: 14.44 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.5261, allocations: 0.5587 MB / 1.517 GB, free: 13.87 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008351/0.5269, allocations: 489.9 kB / 1.517 GB, free: 13.38 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007337/0.5277, allocations: 132.3 kB / 1.517 GB, free: 13.25 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.5277, allocations: 42.98 kB / 1.517 GB, free: 13.2 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002548/0.5302, allocations: 0.6089 MB / 1.518 GB, free: 12.59 MB / 1.217 GB Notification: Performance of pre-optimization done (n=50): time 2.054e-06/0.5303, allocations: 4 kB / 1.518 GB, free: 12.59 MB / 1.217 GB Notification: Performance of matching and sorting (n=50): time 0.01999/0.5502, allocations: 3.668 MB / 1.522 GB, free: 8.906 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.5503, allocations: 59.84 kB / 1.522 GB, free: 8.836 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007198/0.551, allocations: 0.5665 MB / 1.522 GB, free: 8.258 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.47e-05/0.5511, allocations: 37.7 kB / 1.522 GB, free: 8.215 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.5514, allocations: 329.1 kB / 1.522 GB, free: 7.887 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.5516, allocations: 186.4 kB / 1.523 GB, free: 7.703 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002888/0.5518, allocations: 150 kB / 1.523 GB, free: 7.551 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001945/0.552, allocations: 374.8 kB / 1.523 GB, free: 7.176 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007345/0.5528, allocations: 396.8 kB / 1.524 GB, free: 6.789 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008554/0.5536, allocations: 0.5276 MB / 1.524 GB, free: 6.223 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/0.5553, allocations: 0.9219 MB / 1.525 GB, free: 5.273 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.5553, allocations: 0 / 1.525 GB, free: 5.273 MB / 1.217 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01271/0.568, allocations: 2.545 MB / 1.527 GB, free: 2.711 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.568, allocations: 11.94 kB / 1.527 GB, free: 2.699 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.568, allocations: 0 / 1.527 GB, free: 2.699 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01075/0.5788, allocations: 1.722 MB / 1.529 GB, free: 0.9688 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004446/0.5792, allocations: 87.88 kB / 1.529 GB, free: 0.8828 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01383/0.593, allocations: 6.83 MB / 1.536 GB, free: 9.836 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007025/0.5937, allocations: 23.98 kB / 1.536 GB, free: 9.812 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.5938, allocations: 51.92 kB / 1.536 GB, free: 9.762 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003771/0.5942, allocations: 206 kB / 1.536 GB, free: 9.551 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/0.5944, allocations: 71.53 kB / 1.536 GB, free: 9.48 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00563/0.6, allocations: 1.723 MB / 1.538 GB, free: 7.746 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/0.6, allocations: 8 kB / 1.538 GB, free: 7.738 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.6001, allocations: 8 kB / 1.538 GB, free: 7.73 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/0.6001, allocations: 7.922 kB / 1.538 GB, free: 7.723 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006369/0.6064, allocations: 2.32 MB / 1.54 GB, free: 5.34 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.6064, allocations: 3.938 kB / 1.54 GB, free: 5.336 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004483/0.6069, allocations: 87.88 kB / 1.54 GB, free: 5.25 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003886/0.6108, allocations: 0.7978 MB / 1.541 GB, free: 4.445 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.946e-05/0.6108, allocations: 19.98 kB / 1.541 GB, free: 4.426 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007325/0.6182, allocations: 4.559 MB / 1.546 GB, free: 15.66 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.6182, allocations: 128 / 1.546 GB, free: 15.66 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005716/0.6239, allocations: 2.123 MB / 1.548 GB, free: 13.49 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003787/0.6243, allocations: 143.4 kB / 1.548 GB, free: 13.35 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.6244, allocations: 16 kB / 1.548 GB, free: 13.34 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000552/0.6249, allocations: 23.98 kB / 1.548 GB, free: 13.31 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.6251, allocations: 52.34 kB / 1.548 GB, free: 13.26 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.545e-05/0.6251, allocations: 23.98 kB / 1.548 GB, free: 13.24 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0005145/0.6256, allocations: 399.1 kB / 1.548 GB, free: 12.85 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6256, allocations: 4 kB / 1.548 GB, free: 12.85 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0009389/0.6266, allocations: 295.6 kB / 1.549 GB, free: 12.56 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003713/0.627, allocations: 208.9 kB / 1.549 GB, free: 12.35 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.00367/0.6306, allocations: 1.418 MB / 1.55 GB, free: 10.91 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6306, allocations: 4.062 kB / 1.55 GB, free: 10.9 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001903/0.6325, allocations: 0.8594 MB / 1.551 GB, free: 10.01 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.6341, allocations: 355 kB / 1.551 GB, free: 9.668 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002775/0.6369, allocations: 1.708 MB / 1.553 GB, free: 7.922 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.6373, allocations: 392.7 kB / 1.553 GB, free: 7.512 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0004498/0.6378, allocations: 145.3 kB / 1.553 GB, free: 7.367 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.638, allocations: 59.42 kB / 1.554 GB, free: 7.309 MB / 1.248 GB Notification: Performance of SimCode: time 3.31e-07/0.638, allocations: 0 / 1.554 GB, free: 7.309 MB / 1.248 GB Notification: Performance of Templates: time 0.03458/0.6725, allocations: 22.53 MB / 1.576 GB, free: 1.137 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.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.376395623999997]