Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008426/0.0008426, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008066/0.0008066, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.908/0.908, allocations: 177.2 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.773/1.773, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Airflow.Multizone.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.661e-05/2.827e-05, allocations: 5.375 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.7423/0.7423, allocations: 170.3 MB / 1.167 GB, free: 8.625 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.00575/0.748, allocations: 3.929 MB / 1.171 GB, free: 5.969 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004422/0.7485, allocations: 25.34 kB / 1.171 GB, free: 5.957 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.7496, allocations: 461.2 kB / 1.171 GB, free: 5.695 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.003113/0.7527, allocations: 1.674 MB / 1.173 GB, free: 4.777 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.003003/0.7557, allocations: 1.436 MB / 1.175 GB, free: 4.078 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.001879/0.7576, allocations: 1.683 MB / 1.176 GB, free: 3.281 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001/0.7586, allocations: 0.8509 MB / 1.177 GB, free: 2.883 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001796/0.7604, allocations: 1.379 MB / 1.178 GB, free: 2.301 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.7614, allocations: 0.7969 MB / 1.179 GB, free: 2.066 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.000202/0.7616, allocations: 107.3 kB / 1.179 GB, free: 2.062 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002161/0.7638, allocations: 1.151 MB / 1.18 GB, free: 1.645 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0003853/0.7642, allocations: 391.8 kB / 1.181 GB, free: 1.449 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.001064/0.7652, allocations: 413.8 kB / 1.181 GB, free: 1.277 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.002246/0.7675, allocations: 1.826 MB / 1.183 GB, free: 0.625 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.7675, allocations: 3.938 kB / 1.183 GB, free: 0.6211 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7675, allocations: 0 / 1.183 GB, free: 0.6211 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.7675, allocations: 0 / 1.183 GB, free: 0.6211 MB / 1.026 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.001884/0.7694, allocations: 1.191 MB / 1.184 GB, free: 15.84 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.7694, allocations: 13.3 kB / 1.184 GB, free: 15.84 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/0.7711, allocations: 433.9 kB / 1.184 GB, free: 15.77 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007928/0.7719, allocations: 0.5679 MB / 1.185 GB, free: 15.41 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.807e-05/0.7719, allocations: 41.28 kB / 1.185 GB, free: 15.39 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.772, allocations: 51.39 kB / 1.185 GB, free: 15.38 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.7735, allocations: 1.174 MB / 1.186 GB, free: 14.8 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.7735, allocations: 9.969 kB / 1.186 GB, free: 14.79 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.513e-05/0.7736, allocations: 22.34 kB / 1.186 GB, free: 14.77 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.126e-05/0.7737, allocations: 26.34 kB / 1.186 GB, free: 14.77 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/0.7753, allocations: 1.207 MB / 1.188 GB, free: 14.34 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003773/0.7791, allocations: 3.802 MB / 1.191 GB, free: 11.62 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.7805, allocations: 0.8481 MB / 1.192 GB, free: 11.31 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008103/0.7813, allocations: 0.5725 MB / 1.193 GB, free: 11.1 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002801/0.7816, allocations: 89.22 kB / 1.193 GB, free: 11.09 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.7817, allocations: 38.09 kB / 1.193 GB, free: 11.04 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001283/0.7829, allocations: 0.6155 MB / 1.193 GB, free: 10.92 MB / 1.042 GB Notification: Performance of pre-optimization done (n=50): time 2.154e-06/0.7829, allocations: 4 kB / 1.193 GB, free: 10.92 MB / 1.042 GB Notification: Performance of matching and sorting (n=50): time 0.01004/0.793, allocations: 3.959 MB / 1.197 GB, free: 9.348 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.793, allocations: 57.72 kB / 1.197 GB, free: 9.285 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000586/0.7936, allocations: 0.5618 MB / 1.198 GB, free: 8.949 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 6.76e-05/0.7937, allocations: 40 kB / 1.198 GB, free: 8.906 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.7939, allocations: 331.2 kB / 1.198 GB, free: 8.617 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.794, allocations: 184.2 kB / 1.198 GB, free: 8.457 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/0.7942, allocations: 149.9 kB / 1.198 GB, free: 8.363 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.7944, allocations: 378.1 kB / 1.199 GB, free: 8 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007247/0.7951, allocations: 0.4891 MB / 1.199 GB, free: 7.734 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007766/0.7959, allocations: 0.6349 MB / 1.2 GB, free: 7.309 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.7974, allocations: 1.097 MB / 1.201 GB, free: 6.672 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.7974, allocations: 0 / 1.201 GB, free: 6.672 MB / 1.042 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.006241/0.8036, allocations: 2.736 MB / 1.204 GB, free: 5.145 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.8036, allocations: 7.875 kB / 1.204 GB, free: 5.145 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.8037, allocations: 3.156 kB / 1.204 GB, free: 5.145 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004604/0.8083, allocations: 1.744 MB / 1.205 GB, free: 4.25 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004248/0.8087, allocations: 116.5 kB / 1.206 GB, free: 4.215 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008136/0.8168, allocations: 6.824 MB / 1.212 GB, free: 15.23 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000705/0.8175, allocations: 47.64 kB / 1.212 GB, free: 15.21 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-05/0.8176, allocations: 50.48 kB / 1.212 GB, free: 15.19 MB / 1.057 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.0004332/0.818, allocations: 213.8 kB / 1.212 GB, free: 15.01 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.8182, allocations: 70.27 kB / 1.213 GB, free: 14.97 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00314/0.8213, allocations: 1.902 MB / 1.214 GB, free: 13.88 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.8213, allocations: 6.25 kB / 1.214 GB, free: 13.88 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.8213, allocations: 9.125 kB / 1.214 GB, free: 13.87 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.8213, allocations: 3.984 kB / 1.214 GB, free: 13.87 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003952/0.8253, allocations: 2.6 MB / 1.217 GB, free: 12.26 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.8253, allocations: 3 kB / 1.217 GB, free: 12.26 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003608/0.8256, allocations: 123.8 kB / 1.217 GB, free: 12.22 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001624/0.8273, allocations: 0.7884 MB / 1.218 GB, free: 11.89 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.767e-05/0.8273, allocations: 23.58 kB / 1.218 GB, free: 11.87 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004444/0.8318, allocations: 4.568 MB / 1.222 GB, free: 8.246 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.8318, allocations: 3.938 kB / 1.222 GB, free: 8.242 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0036/0.8354, allocations: 2.443 MB / 1.225 GB, free: 5.832 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002872/0.8356, allocations: 155.4 kB / 1.225 GB, free: 5.68 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.973e-05/0.8357, allocations: 15.98 kB / 1.225 GB, free: 5.664 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003886/0.8361, allocations: 47.89 kB / 1.225 GB, free: 5.617 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.8362, allocations: 56.39 kB / 1.225 GB, free: 5.562 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.66e-05/0.8363, allocations: 23.92 kB / 1.225 GB, free: 5.539 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0003521/0.8366, allocations: 407.1 kB / 1.225 GB, free: 5.148 MB / 1.057 GB Notification: Performance of sort global known variables: time 3.3e-07/0.8366, allocations: 0 / 1.225 GB, free: 5.148 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0009453/0.8376, allocations: 315.6 kB / 1.226 GB, free: 4.84 MB / 1.057 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 (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%), (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.0003717/0.8379, allocations: 187.3 kB / 1.226 GB, free: 4.645 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.002883/0.8408, allocations: 1.608 MB / 1.227 GB, free: 3.008 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.8408, allocations: 0 / 1.227 GB, free: 3.008 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.842, allocations: 0.9494 MB / 1.228 GB, free: 2.035 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.843, allocations: 351.6 kB / 1.229 GB, free: 1.707 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.8453, allocations: 1.742 MB / 1.23 GB, free: 15.91 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.8456, allocations: 388.8 kB / 1.231 GB, free: 15.5 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/0.8459, allocations: 76.44 kB / 1.231 GB, free: 15.43 MB / 1.073 GB Notification: Performance of SimCode: time 1.353e-06/0.8459, allocations: 0 / 1.231 GB, free: 15.43 MB / 1.073 GB Notification: Performance of Templates: time 0.01791/0.8638, allocations: 19.72 MB / 1.25 GB, free: 11.77 MB / 1.089 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.53293126821518]