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.001745/0.001745, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002283/0.002283, allocations: 161.4 kB / 22.45 MB, free: 5.375 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.546/1.546, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 2.981/2.981, allocations: 389 MB / 0.633 GB, free: 1.016 MB / 0.5919 GB " [Timeout remaining time 176] 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.693e-06/1.693e-06, allocations: 0 / 1 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.112e-05/3.281e-05, allocations: 2.281 kB / 1 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 1.094/1.094, allocations: 170.3 MB / 1.166 GB, free: 44.98 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.006718/1.101, allocations: 3.935 MB / 1.17 GB, free: 44.89 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/1.102, allocations: 28.03 kB / 1.17 GB, free: 44.89 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001511/1.104, allocations: 471.1 kB / 1.171 GB, free: 44.88 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005182/1.109, allocations: 1.664 MB / 1.172 GB, free: 44.76 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004114/1.113, allocations: 1.437 MB / 1.174 GB, free: 44.62 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002884/1.116, allocations: 1.686 MB / 1.175 GB, free: 44.23 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/1.117, allocations: 0.8456 MB / 1.176 GB, free: 44.11 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002699/1.12, allocations: 1.381 MB / 1.178 GB, free: 44 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/1.121, allocations: 0.8026 MB / 1.178 GB, free: 43.94 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002522/1.121, allocations: 104.2 kB / 1.178 GB, free: 43.94 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003468/1.125, allocations: 1.147 MB / 1.18 GB, free: 43.81 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000444/1.125, allocations: 397 kB / 1.18 GB, free: 43.77 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006206/1.126, allocations: 410.5 kB / 1.18 GB, free: 43.73 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00384/1.13, allocations: 1.82 MB / 1.182 GB, free: 43.59 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.13, allocations: 0.9062 kB / 1.182 GB, free: 43.59 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.703e-06/1.13, allocations: 3.938 kB / 1.182 GB, free: 43.58 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.957e-05/1.13, allocations: 1.969 kB / 1.182 GB, free: 43.58 MB / 1.076 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.003213/1.133, allocations: 1.198 MB / 1.183 GB, free: 42.93 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/1.133, allocations: 9.969 kB / 1.183 GB, free: 42.93 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003518/1.136, allocations: 429.1 kB / 1.184 GB, free: 42.88 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/1.138, allocations: 0.5689 MB / 1.184 GB, free: 42.65 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.58e-05/1.138, allocations: 38 kB / 1.184 GB, free: 42.65 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/1.138, allocations: 49.56 kB / 1.184 GB, free: 42.65 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002518/1.141, allocations: 1.183 MB / 1.186 GB, free: 42.38 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/1.141, allocations: 1.859 kB / 1.186 GB, free: 42.38 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/1.141, allocations: 23.47 kB / 1.186 GB, free: 42.38 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.545e-05/1.141, allocations: 32.44 kB / 1.186 GB, free: 42.38 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002816/1.144, allocations: 1.202 MB / 1.187 GB, free: 42.37 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006518/1.15, allocations: 3.802 MB / 1.19 GB, free: 40.34 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002358/1.152, allocations: 0.8423 MB / 1.191 GB, free: 40.3 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001287/1.154, allocations: 0.5758 MB / 1.192 GB, free: 40.3 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005643/1.154, allocations: 89.97 kB / 1.192 GB, free: 40.3 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/1.154, allocations: 42.12 kB / 1.192 GB, free: 40.25 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002662/1.157, allocations: 0.6145 MB / 1.193 GB, free: 40.24 MB / 1.076 GB Notification: Performance of pre-optimization done (n=50): time 5.981e-06/1.157, allocations: 2.406 kB / 1.193 GB, free: 40.24 MB / 1.076 GB Notification: Performance of matching and sorting (n=50): time 0.02135/1.178, allocations: 3.952 MB / 1.196 GB, free: 40.08 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/1.178, allocations: 57.19 kB / 1.197 GB, free: 40.02 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/1.179, allocations: 0.5648 MB / 1.197 GB, free: 39.89 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0004079/1.18, allocations: 38.7 kB / 1.197 GB, free: 39.86 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/1.18, allocations: 332.5 kB / 1.197 GB, free: 39.68 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002572/1.18, allocations: 182.9 kB / 1.198 GB, free: 39.54 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004411/1.181, allocations: 158.9 kB / 1.198 GB, free: 39.48 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.181, allocations: 374.6 kB / 1.198 GB, free: 39.14 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/1.182, allocations: 496.1 kB / 1.199 GB, free: 38.97 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/1.184, allocations: 0.6322 MB / 1.199 GB, free: 38.64 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002787/1.186, allocations: 1.096 MB / 1.2 GB, free: 38.14 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/1.186, allocations: 1.219 kB / 1.2 GB, free: 38.14 MB / 1.076 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01403/1.2, allocations: 2.749 MB / 1.203 GB, free: 37.42 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/1.201, allocations: 6.969 kB / 1.203 GB, free: 37.42 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/1.201, allocations: 2.25 kB / 1.203 GB, free: 37.42 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01069/1.211, allocations: 1.729 MB / 1.205 GB, free: 37.16 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/1.212, allocations: 128.3 kB / 1.205 GB, free: 37.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01404/1.226, allocations: 6.821 MB / 1.211 GB, free: 33.17 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/1.228, allocations: 46.27 kB / 1.211 GB, free: 33.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000391/1.228, allocations: 49.58 kB / 1.212 GB, free: 33.16 MB / 1.076 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.0008401/1.229, allocations: 210.9 kB / 1.212 GB, free: 33 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004507/1.23, allocations: 81.14 kB / 1.212 GB, free: 32.95 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006958/1.237, allocations: 1.898 MB / 1.214 GB, free: 32.34 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/1.237, allocations: 5.406 kB / 1.214 GB, free: 32.34 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.625e-05/1.237, allocations: 9.906 kB / 1.214 GB, free: 32.33 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/1.237, allocations: 2.766 kB / 1.214 GB, free: 32.33 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008073/1.245, allocations: 2.609 MB / 1.216 GB, free: 31.27 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.996e-06/1.245, allocations: 1.922 kB / 1.216 GB, free: 31.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008948/1.246, allocations: 119.5 kB / 1.216 GB, free: 31.26 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00372/1.249, allocations: 0.7983 MB / 1.217 GB, free: 31.15 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/1.249, allocations: 17.36 kB / 1.217 GB, free: 31.14 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006489/1.256, allocations: 4.539 MB / 1.222 GB, free: 27.91 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.256, allocations: 2.062 kB / 1.222 GB, free: 27.91 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007196/1.263, allocations: 2.453 MB / 1.224 GB, free: 26.91 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006982/1.264, allocations: 161.2 kB / 1.224 GB, free: 26.83 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/1.264, allocations: 23.92 kB / 1.224 GB, free: 26.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009857/1.265, allocations: 47.3 kB / 1.224 GB, free: 26.81 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002975/1.265, allocations: 55.62 kB / 1.224 GB, free: 26.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.542e-05/1.265, allocations: 20.83 kB / 1.224 GB, free: 26.8 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006578/1.266, allocations: 408.1 kB / 1.225 GB, free: 26.62 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.266, allocations: 0 / 1.225 GB, free: 26.62 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001857/1.268, allocations: 311.4 kB / 1.225 GB, free: 26.57 MB / 1.076 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.0005391/1.269, allocations: 187.9 kB / 1.225 GB, free: 26.45 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005036/1.274, allocations: 1.601 MB / 1.227 GB, free: 25.77 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.647e-06/1.274, allocations: 4.25 kB / 1.227 GB, free: 25.77 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002495/1.276, allocations: 0.9561 MB / 1.228 GB, free: 25.31 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/1.279, allocations: 351.4 kB / 1.228 GB, free: 25.2 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0046/1.283, allocations: 1.683 MB / 1.23 GB, free: 24.3 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006324/1.284, allocations: 390.2 kB / 1.23 GB, free: 24.18 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0009908/1.285, allocations: 148.1 kB / 1.23 GB, free: 24.13 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000416/1.285, allocations: 67.38 kB / 1.23 GB, free: 24.12 MB / 1.076 GB Notification: Performance of SimCode: time 2.064e-06/1.285, allocations: 0 / 1.23 GB, free: 24.12 MB / 1.076 GB Notification: Performance of Templates: time 0.03888/1.324, allocations: 23.16 MB / 1.253 GB, free: 18.57 MB / 1.076 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: 10.784481324255466]