Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002007/0.002007, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.00263/0.00263, allocations: 209.7 kB / 22.99 MB, free: 4.965 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.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.426/3.426, allocations: 0.5107 GB / 0.8166 GB, free: 17.81 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.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_latest_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_latest_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.002094/0.002094, allocations: 71.77 kB / 1.187 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4684/0.4704, allocations: 181.9 MB / 1.365 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2545/0.7249, allocations: 170.5 MB / 1.531 GB, free: 2.438 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.008753/0.7337, allocations: 3.934 MB / 1.535 GB, free: 14.5 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.735, allocations: 27.75 kB / 1.535 GB, free: 14.47 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.00183/0.7369, allocations: 473.1 kB / 1.535 GB, free: 14 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.005305/0.7422, allocations: 1.622 MB / 1.537 GB, free: 12.38 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.004388/0.7466, allocations: 1.396 MB / 1.538 GB, free: 10.98 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003716/0.7503, allocations: 1.68 MB / 1.54 GB, free: 9.293 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001444/0.7517, allocations: 0.85 MB / 1.541 GB, free: 8.43 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002564/0.7543, allocations: 1.137 MB / 1.542 GB, free: 7.289 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001299/0.7556, allocations: 0.8603 MB / 1.543 GB, free: 6.426 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001866/0.7558, allocations: 104 kB / 1.543 GB, free: 6.324 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002739/0.7585, allocations: 1.13 MB / 1.544 GB, free: 5.191 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004477/0.759, allocations: 382.8 kB / 1.544 GB, free: 4.816 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0005656/0.7595, allocations: 474.1 kB / 1.545 GB, free: 4.352 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002643/0.7622, allocations: 1.701 MB / 1.546 GB, free: 2.645 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.7622, allocations: 0 / 1.546 GB, free: 2.645 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7622, allocations: 0 / 1.546 GB, free: 2.645 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.7622, allocations: 0 / 1.546 GB, free: 2.645 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002851/0.765, allocations: 1.201 MB / 1.548 GB, free: 1.406 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.7651, allocations: 16.03 kB / 1.548 GB, free: 1.391 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003034/0.7681, allocations: 438.8 kB / 1.548 GB, free: 0.9609 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.7693, allocations: 0.5771 MB / 1.549 GB, free: 364 kB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.363e-05/0.7694, allocations: 44.92 kB / 1.549 GB, free: 320 kB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.7695, allocations: 55.94 kB / 1.549 GB, free: 264 kB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/0.7717, allocations: 1.171 MB / 1.55 GB, free: 15.01 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.7718, allocations: 4 kB / 1.55 GB, free: 15 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-05/0.7719, allocations: 20 kB / 1.55 GB, free: 14.98 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.235e-05/0.7719, allocations: 35.92 kB / 1.55 GB, free: 14.95 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002536/0.7745, allocations: 1.206 MB / 1.551 GB, free: 13.74 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006233/0.7807, allocations: 3.816 MB / 1.555 GB, free: 9.816 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002206/0.7829, allocations: 0.8371 MB / 1.556 GB, free: 8.973 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/0.7841, allocations: 0.5799 MB / 1.556 GB, free: 8.391 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005124/0.7846, allocations: 80.34 kB / 1.556 GB, free: 8.312 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/0.7847, allocations: 39 kB / 1.556 GB, free: 8.266 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002319/0.787, allocations: 0.6167 MB / 1.557 GB, free: 7.648 MB / 1.248 GB Notification: Performance of pre-optimization done (n=50): time 3.096e-06/0.787, allocations: 3.938 kB / 1.557 GB, free: 7.645 MB / 1.248 GB Notification: Performance of matching and sorting (n=50): time 0.01874/0.8057, allocations: 3.953 MB / 1.561 GB, free: 3.672 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.8058, allocations: 63.84 kB / 1.561 GB, free: 3.598 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.8068, allocations: 0.5743 MB / 1.561 GB, free: 3.016 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001666/0.807, allocations: 37.7 kB / 1.561 GB, free: 2.973 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/0.8073, allocations: 329.2 kB / 1.562 GB, free: 2.645 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/0.8075, allocations: 190.4 kB / 1.562 GB, free: 2.457 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003212/0.8078, allocations: 154 kB / 1.562 GB, free: 2.297 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002293/0.8081, allocations: 374.8 kB / 1.562 GB, free: 1.922 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.8092, allocations: 0.4889 MB / 1.563 GB, free: 1.434 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/0.8105, allocations: 0.6329 MB / 1.564 GB, free: 0.7617 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002356/0.8128, allocations: 1.098 MB / 1.565 GB, free: 15.64 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.8128, allocations: 0 / 1.565 GB, free: 15.64 MB / 1.264 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01231/0.8252, allocations: 2.736 MB / 1.567 GB, free: 12.89 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.494e-05/0.8252, allocations: 6.5 kB / 1.567 GB, free: 12.88 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.8252, allocations: 4 kB / 1.567 GB, free: 12.88 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009513/0.8347, allocations: 1.73 MB / 1.569 GB, free: 11.14 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008954/0.8356, allocations: 127.8 kB / 1.569 GB, free: 11.02 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/0.8491, allocations: 6.824 MB / 1.576 GB, free: 3.973 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.8503, allocations: 47.95 kB / 1.576 GB, free: 3.926 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.8504, allocations: 55.91 kB / 1.576 GB, free: 3.871 MB / 1.264 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.0005333/0.8509, allocations: 205.7 kB / 1.576 GB, free: 3.66 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/0.8512, allocations: 75.56 kB / 1.576 GB, free: 3.586 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006018/0.8572, allocations: 1.899 MB / 1.578 GB, free: 1.672 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.8572, allocations: 8 kB / 1.578 GB, free: 1.664 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.8572, allocations: 4 kB / 1.578 GB, free: 1.66 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.8572, allocations: 7.922 kB / 1.578 GB, free: 1.652 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007156/0.8644, allocations: 2.616 MB / 1.581 GB, free: 14.97 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.8644, allocations: 3.938 kB / 1.581 GB, free: 14.96 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007508/0.8651, allocations: 116 kB / 1.581 GB, free: 14.85 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003403/0.8685, allocations: 0.802 MB / 1.582 GB, free: 14.04 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.179e-05/0.8686, allocations: 19.98 kB / 1.582 GB, free: 14.02 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007398/0.876, allocations: 4.545 MB / 1.586 GB, free: 9.27 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.876, allocations: 4 kB / 1.586 GB, free: 9.266 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006872/0.8829, allocations: 2.446 MB / 1.588 GB, free: 6.777 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006039/0.8835, allocations: 163.4 kB / 1.589 GB, free: 6.617 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.8836, allocations: 12 kB / 1.589 GB, free: 6.605 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008167/0.8844, allocations: 47.94 kB / 1.589 GB, free: 6.559 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/0.8846, allocations: 56.53 kB / 1.589 GB, free: 6.504 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.459e-05/0.8847, allocations: 23.98 kB / 1.589 GB, free: 6.48 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0006006/0.8853, allocations: 403.1 kB / 1.589 GB, free: 6.09 MB / 1.279 GB Notification: Performance of sort global known variables: time 7e-08/0.8853, allocations: 3.938 kB / 1.589 GB, free: 6.086 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001172/0.8864, allocations: 315.7 kB / 1.589 GB, free: 5.777 MB / 1.279 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 (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%), (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.0004312/0.8869, allocations: 195 kB / 1.59 GB, free: 5.578 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.004477/0.8913, allocations: 1.6 MB / 1.591 GB, free: 3.953 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.8913, allocations: 0 / 1.591 GB, free: 3.953 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002272/0.8936, allocations: 0.9607 MB / 1.592 GB, free: 2.965 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/0.8953, allocations: 360.4 kB / 1.592 GB, free: 2.617 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003747/0.899, allocations: 1.84 MB / 1.594 GB, free: 0.7305 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/0.8995, allocations: 388.8 kB / 1.595 GB, free: 328 kB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003533/0.8999, allocations: 67.39 kB / 1.595 GB, free: 260 kB / 1.279 GB Notification: Performance of SimCode: time 1.253e-06/0.8999, allocations: 4 kB / 1.595 GB, free: 256 kB / 1.279 GB Notification: Performance of Templates: time 0.963/1.863, allocations: 19.84 MB / 1.614 GB, free: 245.1 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 17.37819179520011]