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.00145/0.00145, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001725/0.001725, allocations: 207.2 kB / 23 MB, free: 4.574 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.638/1.638, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.468/3.468, allocations: 0.49 GB / 0.7958 GB, free: 33.39 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.002045/0.002045, allocations: 63.78 kB / 1.155 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.45/0.452, allocations: 176.1 MB / 1.327 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2557/0.7078, allocations: 196.7 MB / 1.519 GB, free: 12.08 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.007865/0.7156, allocations: 4.046 MB / 1.523 GB, free: 8.023 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000957/0.7166, allocations: 31.75 kB / 1.523 GB, free: 7.992 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001546/0.7181, allocations: 489 kB / 1.524 GB, free: 7.512 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004576/0.7227, allocations: 1.602 MB / 1.525 GB, free: 5.906 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004133/0.7268, allocations: 1.408 MB / 1.527 GB, free: 4.496 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003012/0.7298, allocations: 1.637 MB / 1.528 GB, free: 2.855 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/0.7311, allocations: 0.846 MB / 1.529 GB, free: 1.996 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002528/0.7337, allocations: 1.11 MB / 1.53 GB, free: 0.8828 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.7351, allocations: 0.9072 MB / 1.531 GB, free: 15.97 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.7353, allocations: 100 kB / 1.531 GB, free: 15.88 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003194/0.7385, allocations: 1.399 MB / 1.532 GB, free: 14.47 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004572/0.7389, allocations: 370.9 kB / 1.533 GB, free: 14.11 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0006808/0.7396, allocations: 0.5172 MB / 1.533 GB, free: 13.59 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002959/0.7426, allocations: 1.67 MB / 1.535 GB, free: 11.91 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.7426, allocations: 0 / 1.535 GB, free: 11.91 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7426, allocations: 3.938 kB / 1.535 GB, free: 11.91 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.7426, allocations: 0 / 1.535 GB, free: 11.91 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.002887/0.7455, allocations: 1.189 MB / 1.536 GB, free: 10.68 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.7455, allocations: 8.031 kB / 1.536 GB, free: 10.68 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.7471, allocations: 243.2 kB / 1.536 GB, free: 10.44 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.7482, allocations: 0.5576 MB / 1.537 GB, free: 9.848 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.254e-05/0.7482, allocations: 37 kB / 1.537 GB, free: 9.812 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.7484, allocations: 51.98 kB / 1.537 GB, free: 9.762 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.75, allocations: 0.9999 MB / 1.538 GB, free: 8.695 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.7501, allocations: 0 / 1.538 GB, free: 8.695 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.141e-05/0.7501, allocations: 24 kB / 1.538 GB, free: 8.672 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.499e-05/0.7502, allocations: 35.91 kB / 1.538 GB, free: 8.637 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.7519, allocations: 1.011 MB / 1.539 GB, free: 7.625 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005774/0.7577, allocations: 4.098 MB / 1.543 GB, free: 3.363 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.7587, allocations: 0.5549 MB / 1.543 GB, free: 2.797 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007977/0.7595, allocations: 489.9 kB / 1.544 GB, free: 2.312 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007595/0.7602, allocations: 136.3 kB / 1.544 GB, free: 2.18 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.7603, allocations: 39 kB / 1.544 GB, free: 2.133 MB / 1.232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002485/0.7628, allocations: 0.6322 MB / 1.545 GB, free: 1.5 MB / 1.232 GB Notification: Performance of pre-optimization done (n=50): time 2.475e-06/0.7628, allocations: 3.938 kB / 1.545 GB, free: 1.496 MB / 1.232 GB Notification: Performance of matching and sorting (n=50): time 0.01789/0.7806, allocations: 3.668 MB / 1.548 GB, free: 13.81 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.299e-05/0.7807, allocations: 59.78 kB / 1.548 GB, free: 13.74 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.7819, allocations: 0.7155 MB / 1.549 GB, free: 13.01 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001651/0.7821, allocations: 37.7 kB / 1.549 GB, free: 12.97 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/0.7824, allocations: 320.9 kB / 1.549 GB, free: 12.65 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/0.7826, allocations: 182.4 kB / 1.55 GB, free: 12.47 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002764/0.7829, allocations: 150 kB / 1.55 GB, free: 12.32 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.7831, allocations: 330 kB / 1.55 GB, free: 11.99 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007136/0.7838, allocations: 400.7 kB / 1.55 GB, free: 11.6 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007886/0.7846, allocations: 492.8 kB / 1.551 GB, free: 11.09 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.7861, allocations: 0.918 MB / 1.552 GB, free: 10.15 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.7861, allocations: 0 / 1.552 GB, free: 10.15 MB / 1.248 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01157/0.7977, allocations: 2.549 MB / 1.554 GB, free: 7.582 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.7977, allocations: 4 kB / 1.554 GB, free: 7.578 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.7978, allocations: 4 kB / 1.554 GB, free: 7.574 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009693/0.8074, allocations: 1.738 MB / 1.556 GB, free: 5.828 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005481/0.808, allocations: 91.88 kB / 1.556 GB, free: 5.738 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01344/0.8214, allocations: 6.944 MB / 1.563 GB, free: 14.55 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009616/0.8224, allocations: 20.05 kB / 1.563 GB, free: 14.54 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.804e-05/0.8225, allocations: 47.88 kB / 1.563 GB, free: 14.49 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.0004582/0.8229, allocations: 219.2 kB / 1.563 GB, free: 14.27 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.8231, allocations: 79.48 kB / 1.563 GB, free: 14.19 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005254/0.8284, allocations: 1.736 MB / 1.565 GB, free: 12.43 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.8284, allocations: 8 kB / 1.565 GB, free: 12.42 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.8284, allocations: 4 kB / 1.565 GB, free: 12.42 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.8284, allocations: 3.984 kB / 1.565 GB, free: 12.41 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006356/0.8348, allocations: 2.506 MB / 1.567 GB, free: 9.832 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.8348, allocations: 0 / 1.567 GB, free: 9.832 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004448/0.8352, allocations: 87.89 kB / 1.567 GB, free: 9.746 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003489/0.8387, allocations: 0.7978 MB / 1.568 GB, free: 8.941 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-05/0.8388, allocations: 16 kB / 1.568 GB, free: 8.926 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007301/0.8461, allocations: 4.654 MB / 1.573 GB, free: 4.043 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.8461, allocations: 0 / 1.573 GB, free: 4.043 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005635/0.8517, allocations: 2.142 MB / 1.575 GB, free: 1.859 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006111/0.8523, allocations: 163.3 kB / 1.575 GB, free: 1.699 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.8524, allocations: 16 kB / 1.575 GB, free: 1.684 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005659/0.853, allocations: 19.98 kB / 1.575 GB, free: 1.664 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/0.8532, allocations: 56.34 kB / 1.575 GB, free: 1.609 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.108e-05/0.8532, allocations: 20.12 kB / 1.575 GB, free: 1.59 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0007118/0.854, allocations: 0.5029 MB / 1.576 GB, free: 1.094 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.854, allocations: 0 / 1.576 GB, free: 1.094 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001045/0.855, allocations: 283.8 kB / 1.576 GB, free: 0.8164 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.0004261/0.8554, allocations: 206.9 kB / 1.576 GB, free: 0.6055 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003615/0.859, allocations: 1.41 MB / 1.577 GB, free: 15.16 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.859, allocations: 0 / 1.577 GB, free: 15.16 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001904/0.861, allocations: 0.8635 MB / 1.578 GB, free: 14.27 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/0.8631, allocations: 467.2 kB / 1.579 GB, free: 13.82 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003317/0.8664, allocations: 1.775 MB / 1.581 GB, free: 12 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006933/0.8671, allocations: 0.9789 MB / 1.581 GB, free: 11 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/0.8673, allocations: 75.41 kB / 1.582 GB, free: 10.92 MB / 1.279 GB Notification: Performance of SimCode: time 1.102e-06/0.8673, allocations: 0 / 1.582 GB, free: 10.92 MB / 1.279 GB Notification: Performance of Templates: time 0.02966/0.897, allocations: 19.42 MB / 1.6 GB, free: 7.617 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/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: 17.517905212996993]