Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002064/0.002064, allocations: 107.6 kB / 18.95 MB, free: 2.809 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.002902/0.002902, allocations: 209.9 kB / 22.24 MB, free: 5.113 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 7.781 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 3.078/3.078, allocations: 476 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 176] 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.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_11_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_11_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.002165/0.002165, allocations: 70.03 kB / 1.117 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3883, allocations: 170 MB / 1.283 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2311/0.6194, allocations: 170.4 MB / 1.449 GB, free: 0.8242 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.007294/0.6267, allocations: 3.777 MB / 1.453 GB, free: 13.04 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.6278, allocations: 27.75 kB / 1.453 GB, free: 13.01 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.6292, allocations: 461.1 kB / 1.454 GB, free: 12.56 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004317/0.6335, allocations: 1.573 MB / 1.455 GB, free: 10.98 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003962/0.6375, allocations: 1.389 MB / 1.457 GB, free: 9.59 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003083/0.6406, allocations: 1.646 MB / 1.458 GB, free: 7.938 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/0.6419, allocations: 0.8344 MB / 1.459 GB, free: 7.09 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002076/0.644, allocations: 0.9735 MB / 1.46 GB, free: 6.113 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001367/0.6454, allocations: 0.8525 MB / 1.461 GB, free: 5.258 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001756/0.6455, allocations: 100 kB / 1.461 GB, free: 5.16 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002691/0.6482, allocations: 1.102 MB / 1.462 GB, free: 4.055 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004491/0.6487, allocations: 370.9 kB / 1.462 GB, free: 3.691 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006013/0.6493, allocations: 462.1 kB / 1.463 GB, free: 3.238 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003106/0.6524, allocations: 1.639 MB / 1.464 GB, free: 1.594 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.6524, allocations: 0 / 1.464 GB, free: 1.594 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.764e-06/0.6524, allocations: 0 / 1.464 GB, free: 1.594 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.55e-05/0.6524, allocations: 4 kB / 1.464 GB, free: 1.59 MB / 1.154 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.002906/0.6553, allocations: 1.188 MB / 1.465 GB, free: 376 kB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.6554, allocations: 12.03 kB / 1.465 GB, free: 364 kB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/0.657, allocations: 243.2 kB / 1.466 GB, free: 120 kB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.6581, allocations: 0.5538 MB / 1.466 GB, free: 15.54 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.326e-05/0.6581, allocations: 40.94 kB / 1.466 GB, free: 15.5 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.6583, allocations: 52 kB / 1.466 GB, free: 15.45 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.66, allocations: 1.054 MB / 1.467 GB, free: 14.3 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/0.66, allocations: 7.938 kB / 1.467 GB, free: 14.3 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.649e-05/0.6601, allocations: 16 kB / 1.467 GB, free: 14.28 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.071e-05/0.6602, allocations: 31.98 kB / 1.467 GB, free: 14.25 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/0.6619, allocations: 1.007 MB / 1.468 GB, free: 13.24 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.005508/0.6674, allocations: 3.592 MB / 1.472 GB, free: 9.535 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.6685, allocations: 0.5607 MB / 1.472 GB, free: 8.969 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000821/0.6693, allocations: 485.9 kB / 1.473 GB, free: 8.492 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007092/0.67, allocations: 136.3 kB / 1.473 GB, free: 8.359 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.43e-05/0.6701, allocations: 35 kB / 1.473 GB, free: 8.312 MB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002382/0.6725, allocations: 0.6206 MB / 1.474 GB, free: 7.691 MB / 1.17 GB Notification: Performance of pre-optimization done (n=50): time 3.216e-06/0.6725, allocations: 0 / 1.474 GB, free: 7.691 MB / 1.17 GB Notification: Performance of matching and sorting (n=50): time 0.01793/0.6904, allocations: 3.668 MB / 1.477 GB, free: 4.012 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.6904, allocations: 59.84 kB / 1.477 GB, free: 3.941 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008921/0.6913, allocations: 0.5547 MB / 1.478 GB, free: 3.379 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001623/0.6915, allocations: 37.7 kB / 1.478 GB, free: 3.336 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002842/0.6918, allocations: 333.1 kB / 1.478 GB, free: 3.004 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/0.692, allocations: 190.3 kB / 1.478 GB, free: 2.816 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000263/0.6922, allocations: 154 kB / 1.479 GB, free: 2.66 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.6924, allocations: 370.8 kB / 1.479 GB, free: 2.289 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007081/0.6931, allocations: 396.8 kB / 1.479 GB, free: 1.902 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008424/0.694, allocations: 0.5237 MB / 1.48 GB, free: 1.344 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/0.6956, allocations: 0.918 MB / 1.481 GB, free: 408 kB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.6956, allocations: 0 / 1.481 GB, free: 408 kB / 1.17 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01172/0.7073, allocations: 2.545 MB / 1.483 GB, free: 13.84 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.7074, allocations: 8 kB / 1.483 GB, free: 13.83 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.7074, allocations: 0 / 1.483 GB, free: 13.83 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009697/0.7171, allocations: 1.726 MB / 1.485 GB, free: 12.09 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005355/0.7176, allocations: 99.86 kB / 1.485 GB, free: 12 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01403/0.7316, allocations: 6.825 MB / 1.492 GB, free: 4.953 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009765/0.7326, allocations: 27.92 kB / 1.492 GB, free: 4.926 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002119/0.7328, allocations: 47.92 kB / 1.492 GB, free: 4.879 MB / 1.186 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.0006153/0.7334, allocations: 205.8 kB / 1.492 GB, free: 4.668 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003435/0.7338, allocations: 71.53 kB / 1.492 GB, free: 4.598 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005589/0.7394, allocations: 1.72 MB / 1.494 GB, free: 2.863 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.7394, allocations: 4 kB / 1.494 GB, free: 2.859 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/0.7394, allocations: 4 kB / 1.494 GB, free: 2.855 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.7394, allocations: 7.922 kB / 1.494 GB, free: 2.848 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006471/0.7459, allocations: 2.316 MB / 1.496 GB, free: 476 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/0.7459, allocations: 16.11 kB / 1.496 GB, free: 460 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004696/0.7464, allocations: 91.89 kB / 1.496 GB, free: 368 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003557/0.7499, allocations: 0.7939 MB / 1.497 GB, free: 15.55 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.671e-05/0.75, allocations: 15.94 kB / 1.497 GB, free: 15.54 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007614/0.7576, allocations: 4.56 MB / 1.501 GB, free: 10.77 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.7576, allocations: 3.938 kB / 1.501 GB, free: 10.77 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005934/0.7635, allocations: 2.119 MB / 1.503 GB, free: 8.609 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006382/0.7642, allocations: 143.4 kB / 1.503 GB, free: 8.469 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001998/0.7644, allocations: 16 kB / 1.503 GB, free: 8.453 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006685/0.765, allocations: 19.98 kB / 1.503 GB, free: 8.434 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002083/0.7653, allocations: 52.34 kB / 1.504 GB, free: 8.383 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.489e-05/0.7653, allocations: 23.98 kB / 1.504 GB, free: 8.359 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006004/0.7659, allocations: 399.1 kB / 1.504 GB, free: 7.973 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.7659, allocations: 0 / 1.504 GB, free: 7.973 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001325/0.7672, allocations: 307.6 kB / 1.504 GB, free: 7.672 MB / 1.201 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.0004948/0.7677, allocations: 191 kB / 1.504 GB, free: 7.48 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003992/0.7717, allocations: 1.422 MB / 1.506 GB, free: 6.035 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.7717, allocations: 0 / 1.506 GB, free: 6.035 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002084/0.7738, allocations: 0.8596 MB / 1.507 GB, free: 5.148 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001984/0.7758, allocations: 351.4 kB / 1.507 GB, free: 4.809 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003678/0.7795, allocations: 1.727 MB / 1.509 GB, free: 3.035 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005686/0.78, allocations: 392.7 kB / 1.509 GB, free: 2.621 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.000634/0.7807, allocations: 141.2 kB / 1.509 GB, free: 2.48 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.7809, allocations: 55.42 kB / 1.509 GB, free: 2.426 MB / 1.201 GB Notification: Performance of SimCode: time 1.593e-06/0.7809, allocations: 0 / 1.509 GB, free: 2.426 MB / 1.201 GB Notification: Performance of Templates: time 0.03883/0.8197, allocations: 22.34 MB / 1.531 GB, free: 12.45 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.646432794630527]