Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.BaseClasses.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.001436/0.001436, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001562/0.001562, allocations: 161.7 kB / 23.55 MB, free: 0.8867 MB / 18.57 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.469/1.469, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.872/2.872, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.8108 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.774e-05, allocations: 3.656 kB / 0.8108 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002754/0.002782, allocations: 1.27 MB / 0.812 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0003262/0.003108, allocations: 108.8 kB / 0.8121 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.138e-05/0.00314, allocations: 0.5938 kB / 0.8121 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.974e-05/0.003159, allocations: 0 / 0.8121 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.131e-05/0.003231, allocations: 4.844 kB / 0.8121 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.00347, allocations: 40.88 kB / 0.8122 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.247e-05/0.003533, allocations: 20.8 kB / 0.8122 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.264e-05/0.003596, allocations: 7.984 kB / 0.8122 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.687e-05/0.003642, allocations: 4 kB / 0.8122 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.697e-05/0.003699, allocations: 5.094 kB / 0.8122 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.003717, allocations: 0 / 0.8122 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.003867, allocations: 52.62 kB / 0.8123 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.003889, allocations: 3.938 kB / 0.8123 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.841e-05/0.003917, allocations: 4.875 kB / 0.8123 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.004077, allocations: 47.91 kB / 0.8123 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.00408, allocations: 0.7812 kB / 0.8123 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.333e-06/0.004081, allocations: 0 / 0.8123 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.004087, allocations: 0 / 0.8123 GB, free: 15.44 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005303/0.004617, allocations: 256 kB / 0.8126 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.004666, allocations: 12.03 kB / 0.8126 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.617e-05/0.004722, allocations: 4.938 kB / 0.8126 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.004881, allocations: 117.7 kB / 0.8127 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.004898, allocations: 5.906 kB / 0.8127 GB, free: 15 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.004906, allocations: 384 / 0.8127 GB, free: 15 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.005008, allocations: 30.27 kB / 0.8127 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.005021, allocations: 4.438 kB / 0.8127 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.005031, allocations: 0 / 0.8127 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.934e-06/0.005039, allocations: 4.859 kB / 0.8127 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.564e-05/0.005084, allocations: 4 kB / 0.8127 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001901/0.005275, allocations: 102 kB / 0.8128 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.264e-05/0.005357, allocations: 24.14 kB / 0.8129 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.667e-05/0.005384, allocations: 12.92 kB / 0.8129 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005659/0.00595, allocations: 88.25 kB / 0.813 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/0.005997, allocations: 30.56 kB / 0.813 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.005999, allocations: 5.562 kB / 0.813 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.000196/0.006195, allocations: 45.64 kB / 0.813 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.006246, allocations: 51.41 kB / 0.8131 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.00636, allocations: 102.4 kB / 0.8132 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.006396, allocations: 29.64 kB / 0.8132 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.006454, allocations: 80.77 kB / 0.8133 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.006488, allocations: 8.703 kB / 0.8133 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.00653, allocations: 13.72 kB / 0.8133 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001945/0.006724, allocations: 319.9 kB / 0.8136 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.296e-05/0.006737, allocations: 0 / 0.8136 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.15e-05/0.006749, allocations: 4 kB / 0.8136 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.901e-05/0.006788, allocations: 14.23 kB / 0.8136 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.006789, allocations: 0 / 0.8136 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.13e-05/0.006871, allocations: 35.45 kB / 0.8137 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.006889, allocations: 10.03 kB / 0.8137 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.006894, allocations: 0 / 0.8137 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.877e-05/0.006923, allocations: 7.922 kB / 0.8137 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.026e-05/0.006983, allocations: 7.938 kB / 0.8137 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.006988, allocations: 0.7812 kB / 0.8137 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.031e-05/0.007008, allocations: 0 / 0.8137 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.007013, allocations: 0.9688 kB / 0.8137 GB, free: 13.89 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.007118, allocations: 113.8 kB / 0.8138 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.106e-05/0.00713, allocations: 1.188 kB / 0.8138 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.007252, allocations: 52.92 kB / 0.8139 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.007258, allocations: 3.938 kB / 0.8139 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.007262, allocations: 4.844 kB / 0.8139 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.007265, allocations: 0 / 0.8139 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.007464, allocations: 103.5 kB / 0.814 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.007468, allocations: 3.984 kB / 0.814 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.378e-05/0.007491, allocations: 0 / 0.814 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.007497, allocations: 4 kB / 0.814 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.007505, allocations: 4 kB / 0.814 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.007506, allocations: 3.938 kB / 0.814 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.007509, allocations: 6.812 kB / 0.814 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.993e-05/0.007609, allocations: 65.12 kB / 0.814 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.045e-05/0.00762, allocations: 4 kB / 0.814 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.007632, allocations: 4.125 kB / 0.814 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.022e-05/0.007652, allocations: 0 / 0.814 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.007677, allocations: 11.92 kB / 0.8141 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.00768, allocations: 0 / 0.8141 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.054e-05/0.00773, allocations: 80.78 kB / 0.8141 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.1e-08/0.00773, allocations: 0 / 0.8141 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002438/0.007974, allocations: 19.92 kB / 0.8142 GB, free: 13.36 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002015/0.008176, allocations: 103.9 kB / 0.8143 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.377e-05/0.008269, allocations: 20.48 kB / 0.8143 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.008271, allocations: 0.5625 kB / 0.8143 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-05/0.008286, allocations: 4.594 kB / 0.8143 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.008548, allocations: 9.344 kB / 0.8143 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.008858, allocations: 108.6 kB / 0.8144 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.173e-05/0.00892, allocations: 64 kB / 0.8145 GB, free: 13 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.426e-05/0.008944, allocations: 4.531 kB / 0.8145 GB, free: 13 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.008975, allocations: 12.5 kB / 0.8145 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of SimCode: time 3.9e-07/0.008976, allocations: 0 / 0.8145 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of Templates: time 0.003394/0.01237, allocations: 0.662 MB / 0.8151 GB, free: 12.35 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.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: 7.577790979994461]