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.002198/0.002198, allocations: 108.4 kB / 16.45 MB, free: 6.488 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.003192/0.003192, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.694/1.694, allocations: 230.6 MB / 252.8 MB, free: 8.988 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.454/3.454, allocations: 0.49 GB / 0.7916 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 176] 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.002333/0.002333, allocations: 72.41 kB / 1.149 GB, free: 26.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4706/0.4729, allocations: 176.1 MB / 1.321 GB, free: 2.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2664/0.7393, allocations: 196.3 MB / 1.513 GB, free: 13.82 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.008362/0.7476, allocations: 4.037 MB / 1.517 GB, free: 9.777 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/0.7488, allocations: 27.75 kB / 1.517 GB, free: 9.75 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001665/0.7505, allocations: 497 kB / 1.517 GB, free: 9.262 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004719/0.7552, allocations: 1.575 MB / 1.519 GB, free: 7.68 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004351/0.7595, allocations: 1.373 MB / 1.52 GB, free: 6.309 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003432/0.763, allocations: 1.624 MB / 1.522 GB, free: 4.68 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.7644, allocations: 0.8689 MB / 1.523 GB, free: 3.797 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002769/0.7672, allocations: 1.098 MB / 1.524 GB, free: 2.695 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001391/0.7686, allocations: 0.9073 MB / 1.525 GB, free: 1.785 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001717/0.7687, allocations: 100 kB / 1.525 GB, free: 1.688 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003146/0.7719, allocations: 1.383 MB / 1.526 GB, free: 308 kB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004726/0.7724, allocations: 362.9 kB / 1.526 GB, free: 15.95 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0006996/0.7731, allocations: 0.5211 MB / 1.527 GB, free: 15.42 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002878/0.7759, allocations: 1.674 MB / 1.529 GB, free: 13.74 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.7759, allocations: 0 / 1.529 GB, free: 13.74 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7759, allocations: 0 / 1.529 GB, free: 13.74 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.7759, allocations: 0 / 1.529 GB, free: 13.74 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.002967/0.7789, allocations: 1.26 MB / 1.53 GB, free: 12.43 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.779, allocations: 15.98 kB / 1.53 GB, free: 12.41 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001592/0.7806, allocations: 243.2 kB / 1.53 GB, free: 12.18 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.7816, allocations: 0.6233 MB / 1.531 GB, free: 11.51 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.712e-05/0.7817, allocations: 44.94 kB / 1.531 GB, free: 11.47 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.7818, allocations: 48 kB / 1.531 GB, free: 11.42 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.7835, allocations: 0.9999 MB / 1.532 GB, free: 10.35 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.7835, allocations: 0 / 1.532 GB, free: 10.35 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.602e-05/0.7836, allocations: 24 kB / 1.532 GB, free: 10.33 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.954e-05/0.7837, allocations: 27.98 kB / 1.532 GB, free: 10.3 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.7854, allocations: 1.003 MB / 1.533 GB, free: 9.297 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0056/0.791, allocations: 4.156 MB / 1.537 GB, free: 4.969 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.7921, allocations: 0.553 MB / 1.537 GB, free: 4.402 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008454/0.7929, allocations: 485.9 kB / 1.538 GB, free: 3.926 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001307/0.7942, allocations: 0.8822 MB / 1.539 GB, free: 2.859 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.7943, allocations: 39 kB / 1.539 GB, free: 2.812 MB / 1.232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002461/0.7967, allocations: 0.6322 MB / 1.539 GB, free: 2.18 MB / 1.232 GB Notification: Performance of pre-optimization done (n=50): time 4.208e-06/0.7967, allocations: 0 / 1.539 GB, free: 2.18 MB / 1.232 GB Notification: Performance of matching and sorting (n=50): time 0.01869/0.8154, allocations: 3.834 MB / 1.543 GB, free: 14.29 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/0.8155, allocations: 59.78 kB / 1.543 GB, free: 14.22 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.8168, allocations: 0.7116 MB / 1.544 GB, free: 13.5 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001667/0.8169, allocations: 41.64 kB / 1.544 GB, free: 13.45 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003147/0.8173, allocations: 316.9 kB / 1.544 GB, free: 13.14 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002932/0.8175, allocations: 186.4 kB / 1.544 GB, free: 12.96 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003427/0.8179, allocations: 158 kB / 1.544 GB, free: 12.8 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.8181, allocations: 322 kB / 1.545 GB, free: 12.48 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007502/0.8188, allocations: 400.9 kB / 1.545 GB, free: 12.08 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008388/0.8196, allocations: 489.5 kB / 1.546 GB, free: 11.58 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.8213, allocations: 0.918 MB / 1.547 GB, free: 10.63 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.8213, allocations: 0 / 1.547 GB, free: 10.63 MB / 1.248 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01216/0.8335, allocations: 2.553 MB / 1.549 GB, free: 8.062 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.547e-05/0.8335, allocations: 4.125 kB / 1.549 GB, free: 8.059 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.706e-05/0.8336, allocations: 8 kB / 1.549 GB, free: 8.051 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01049/0.844, allocations: 1.73 MB / 1.551 GB, free: 6.312 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007292/0.8448, allocations: 91.86 kB / 1.551 GB, free: 6.223 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01614/0.8609, allocations: 7.149 MB / 1.558 GB, free: 14.78 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.862, allocations: 20.05 kB / 1.558 GB, free: 14.76 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000268/0.8623, allocations: 51.92 kB / 1.558 GB, free: 14.71 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.0006913/0.863, allocations: 201.8 kB / 1.558 GB, free: 14.5 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004086/0.8634, allocations: 87.47 kB / 1.558 GB, free: 14.42 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005748/0.8691, allocations: 1.726 MB / 1.56 GB, free: 12.68 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.8691, allocations: 8 kB / 1.56 GB, free: 12.67 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.8692, allocations: 0 / 1.56 GB, free: 12.67 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.8692, allocations: 3.984 kB / 1.56 GB, free: 12.66 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006929/0.8761, allocations: 2.532 MB / 1.562 GB, free: 10.05 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.8761, allocations: 4 kB / 1.562 GB, free: 10.04 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004862/0.8766, allocations: 87.89 kB / 1.562 GB, free: 9.957 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003541/0.8801, allocations: 0.7978 MB / 1.563 GB, free: 9.152 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.172e-05/0.8802, allocations: 16 kB / 1.563 GB, free: 9.137 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008083/0.8883, allocations: 4.864 MB / 1.568 GB, free: 3.992 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/0.8883, allocations: 4 kB / 1.568 GB, free: 3.988 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006032/0.8943, allocations: 2.14 MB / 1.57 GB, free: 1.809 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006458/0.895, allocations: 232.5 kB / 1.57 GB, free: 1.562 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002576/0.8952, allocations: 20 kB / 1.57 GB, free: 1.543 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007921/0.896, allocations: 19.98 kB / 1.57 GB, free: 1.523 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002481/0.8963, allocations: 52.44 kB / 1.57 GB, free: 1.473 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-05/0.8964, allocations: 24.17 kB / 1.57 GB, free: 1.449 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0009845/0.8973, allocations: 0.4951 MB / 1.571 GB, free: 0.9609 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.8973, allocations: 0 / 1.571 GB, free: 0.9609 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001457/0.8988, allocations: 291.8 kB / 1.571 GB, free: 0.6758 MB / 1.264 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.0005287/0.8993, allocations: 212.5 kB / 1.571 GB, free: 468 kB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.004092/0.9034, allocations: 1.406 MB / 1.573 GB, free: 15.02 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.9034, allocations: 0 / 1.573 GB, free: 15.02 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002198/0.9056, allocations: 0.856 MB / 1.574 GB, free: 14.14 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002783/0.9084, allocations: 466.2 kB / 1.574 GB, free: 13.69 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003901/0.9123, allocations: 1.727 MB / 1.576 GB, free: 11.93 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/0.9133, allocations: 0.975 MB / 1.577 GB, free: 10.92 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0008958/0.9142, allocations: 170.6 kB / 1.577 GB, free: 10.75 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003174/0.9145, allocations: 67.42 kB / 1.577 GB, free: 10.68 MB / 1.279 GB Notification: Performance of SimCode: time 2.415e-06/0.9145, allocations: 0 / 1.577 GB, free: 10.68 MB / 1.279 GB Notification: Performance of Templates: time 0.0634/0.9779, allocations: 22.94 MB / 1.599 GB, free: 3.977 MB / 1.295 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 -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/jenkins/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: 12.191473055165261]