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.001923/0.001923, allocations: 111.5 kB / 17.13 MB, free: 6.008 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.001807/0.001807, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.625/1.625, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.008/3.008, allocations: 0.49 GB / 0.7923 GB, free: 1.312 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.002031/0.002031, allocations: 71.91 kB / 1.15 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338/1.34, allocations: 176.1 MB / 1.322 GB, free: 25.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.27/1.61, allocations: 196.3 MB / 1.514 GB, free: 4.949 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.007532/1.617, allocations: 4.025 MB / 1.518 GB, free: 0.9141 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/1.618, allocations: 27.75 kB / 1.518 GB, free: 0.8867 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001517/1.62, allocations: 497 kB / 1.518 GB, free: 408 kB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004391/1.624, allocations: 1.583 MB / 1.52 GB, free: 14.81 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003856/1.628, allocations: 1.362 MB / 1.521 GB, free: 13.45 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002679/1.631, allocations: 1.621 MB / 1.523 GB, free: 11.82 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/1.632, allocations: 0.8689 MB / 1.523 GB, free: 10.94 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002255/1.634, allocations: 1.114 MB / 1.524 GB, free: 9.82 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001265/1.636, allocations: 0.9034 MB / 1.525 GB, free: 8.914 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001706/1.636, allocations: 100 kB / 1.525 GB, free: 8.816 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002834/1.639, allocations: 1.375 MB / 1.527 GB, free: 7.438 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004124/1.639, allocations: 362.9 kB / 1.527 GB, free: 7.082 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000626/1.64, allocations: 0.525 MB / 1.528 GB, free: 6.555 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00275/1.642, allocations: 1.661 MB / 1.529 GB, free: 4.891 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.642, allocations: 4 kB / 1.529 GB, free: 4.887 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.663e-06/1.642, allocations: 7.938 kB / 1.529 GB, free: 4.879 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.149e-05/1.642, allocations: 0 / 1.529 GB, free: 4.879 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.002921/1.645, allocations: 1.26 MB / 1.53 GB, free: 3.566 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/1.645, allocations: 11.98 kB / 1.531 GB, free: 3.555 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001647/1.647, allocations: 243.2 kB / 1.531 GB, free: 3.316 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/1.648, allocations: 0.631 MB / 1.531 GB, free: 2.641 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.894e-05/1.648, allocations: 37 kB / 1.531 GB, free: 2.605 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/1.648, allocations: 48 kB / 1.531 GB, free: 2.559 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/1.65, allocations: 1.004 MB / 1.532 GB, free: 1.484 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/1.65, allocations: 3.984 kB / 1.532 GB, free: 1.48 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.905e-05/1.65, allocations: 27.98 kB / 1.532 GB, free: 1.453 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.682e-05/1.65, allocations: 27.94 kB / 1.532 GB, free: 1.426 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/1.652, allocations: 1.007 MB / 1.533 GB, free: 432 kB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005658/1.658, allocations: 4.137 MB / 1.538 GB, free: 12.11 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/1.659, allocations: 0.5509 MB / 1.538 GB, free: 11.55 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008386/1.659, allocations: 493.9 kB / 1.539 GB, free: 11.06 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001183/1.661, allocations: 0.8822 MB / 1.539 GB, free: 9.996 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/1.661, allocations: 38.94 kB / 1.539 GB, free: 9.949 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00246/1.663, allocations: 0.6361 MB / 1.54 GB, free: 9.312 MB / 1.217 GB Notification: Performance of pre-optimization done (n=50): time 3.316e-06/1.663, allocations: 0 / 1.54 GB, free: 9.312 MB / 1.217 GB Notification: Performance of matching and sorting (n=50): time 0.01848/1.682, allocations: 3.822 MB / 1.544 GB, free: 5.438 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/1.682, allocations: 59.78 kB / 1.544 GB, free: 5.367 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/1.683, allocations: 0.7116 MB / 1.545 GB, free: 4.645 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001556/1.683, allocations: 37.7 kB / 1.545 GB, free: 4.602 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/1.683, allocations: 320.9 kB / 1.545 GB, free: 4.285 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/1.683, allocations: 186.4 kB / 1.545 GB, free: 4.102 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002941/1.684, allocations: 162 kB / 1.545 GB, free: 3.938 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001505/1.684, allocations: 322 kB / 1.545 GB, free: 3.617 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007356/1.685, allocations: 396.9 kB / 1.546 GB, free: 3.227 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008154/1.685, allocations: 489.5 kB / 1.546 GB, free: 2.727 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/1.687, allocations: 0.918 MB / 1.547 GB, free: 1.781 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/1.687, allocations: 0 / 1.547 GB, free: 1.781 MB / 1.217 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01196/1.699, allocations: 2.557 MB / 1.55 GB, free: 15.21 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.395e-05/1.699, allocations: 8 kB / 1.55 GB, free: 15.2 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/1.699, allocations: 0 / 1.55 GB, free: 15.2 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01004/1.709, allocations: 1.734 MB / 1.551 GB, free: 13.46 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005514/1.71, allocations: 95.81 kB / 1.552 GB, free: 13.36 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01394/1.724, allocations: 7.147 MB / 1.559 GB, free: 5.922 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009592/1.725, allocations: 19.98 kB / 1.559 GB, free: 5.902 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/1.725, allocations: 47.88 kB / 1.559 GB, free: 5.855 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.0004553/1.725, allocations: 209.7 kB / 1.559 GB, free: 5.641 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000214/1.725, allocations: 83.48 kB / 1.559 GB, free: 5.559 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005377/1.731, allocations: 1.73 MB / 1.561 GB, free: 3.812 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/1.731, allocations: 8 kB / 1.561 GB, free: 3.805 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.731, allocations: 4 kB / 1.561 GB, free: 3.801 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/1.731, allocations: 3.984 kB / 1.561 GB, free: 3.797 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006261/1.737, allocations: 2.52 MB / 1.563 GB, free: 1.191 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/1.737, allocations: 0 / 1.563 GB, free: 1.191 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004399/1.737, allocations: 92.12 kB / 1.563 GB, free: 1.102 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003483/1.741, allocations: 0.8017 MB / 1.564 GB, free: 300 kB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.49e-05/1.741, allocations: 20 kB / 1.564 GB, free: 280 kB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007433/1.748, allocations: 4.857 MB / 1.569 GB, free: 11.14 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.748, allocations: 0 / 1.569 GB, free: 11.14 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005686/1.754, allocations: 2.148 MB / 1.571 GB, free: 8.949 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005648/1.755, allocations: 236.4 kB / 1.571 GB, free: 8.699 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/1.755, allocations: 15.98 kB / 1.571 GB, free: 8.684 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006031/1.755, allocations: 23.98 kB / 1.571 GB, free: 8.66 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/1.756, allocations: 52.44 kB / 1.571 GB, free: 8.609 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.035e-05/1.756, allocations: 20 kB / 1.571 GB, free: 8.59 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.00072/1.756, allocations: 0.499 MB / 1.572 GB, free: 8.098 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/1.756, allocations: 0 / 1.572 GB, free: 8.098 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001071/1.757, allocations: 283.8 kB / 1.572 GB, free: 7.82 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.0004361/1.758, allocations: 203 kB / 1.572 GB, free: 7.609 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.003731/1.762, allocations: 1.414 MB / 1.573 GB, free: 6.164 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.762, allocations: 0 / 1.573 GB, free: 6.164 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001925/1.764, allocations: 0.8677 MB / 1.574 GB, free: 5.273 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/1.766, allocations: 453.9 kB / 1.575 GB, free: 4.832 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/1.769, allocations: 1.779 MB / 1.576 GB, free: 3.012 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000676/1.77, allocations: 0.9789 MB / 1.577 GB, free: 2.008 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/1.77, allocations: 75.41 kB / 1.577 GB, free: 1.934 MB / 1.248 GB Notification: Performance of SimCode: time 9.02e-07/1.77, allocations: 4 kB / 1.577 GB, free: 1.93 MB / 1.248 GB Notification: Performance of Templates: time 0.0285/1.798, allocations: 19.42 MB / 1.596 GB, free: 14.62 MB / 1.279 GB " [Timeout remaining time 298] 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: 16.576856129002408]