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.001648/0.001648, allocations: 78.95 kB / 19.76 MB, free: 2.031 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.001804/0.001804, allocations: 158.8 kB / 23.01 MB, free: 4.945 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.43/1.43, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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 2.755/2.755, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 177] 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.002138/0.002138, allocations: 71.88 kB / 0.9819 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.971/0.9732, allocations: 176.1 MB / 1.154 GB, free: 33.37 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2054/1.179, allocations: 170.5 MB / 1.32 GB, free: 12.9 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007024/1.186, allocations: 3.783 MB / 1.324 GB, free: 9.891 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009203/1.186, allocations: 28.84 kB / 1.324 GB, free: 9.875 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001361/1.188, allocations: 462.9 kB / 1.325 GB, free: 9.504 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00414/1.192, allocations: 1.554 MB / 1.326 GB, free: 8.324 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00417/1.196, allocations: 1.402 MB / 1.327 GB, free: 7.012 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002838/1.199, allocations: 1.628 MB / 1.329 GB, free: 5.379 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/1.2, allocations: 0.846 MB / 1.33 GB, free: 4.516 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002308/1.203, allocations: 1.122 MB / 1.331 GB, free: 3.391 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/1.204, allocations: 0.833 MB / 1.332 GB, free: 2.555 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002078/1.204, allocations: 103.9 kB / 1.332 GB, free: 2.453 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002529/1.207, allocations: 1.095 MB / 1.333 GB, free: 1.355 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004537/1.207, allocations: 358.9 kB / 1.333 GB, free: 1.004 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006081/1.208, allocations: 462.1 kB / 1.334 GB, free: 0.5508 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002603/1.21, allocations: 1.643 MB / 1.335 GB, free: 14.91 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.21, allocations: 0 / 1.335 GB, free: 14.91 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.292e-06/1.21, allocations: 0 / 1.335 GB, free: 14.91 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.224e-05/1.21, allocations: 4 kB / 1.335 GB, free: 14.9 MB / 1.186 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.002782/1.213, allocations: 1.181 MB / 1.336 GB, free: 13.69 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/1.213, allocations: 12.03 kB / 1.336 GB, free: 13.68 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001625/1.215, allocations: 243.2 kB / 1.337 GB, free: 13.44 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/1.216, allocations: 0.5615 MB / 1.337 GB, free: 12.85 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.346e-05/1.216, allocations: 37 kB / 1.337 GB, free: 12.81 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/1.216, allocations: 59.98 kB / 1.337 GB, free: 12.75 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/1.218, allocations: 1.05 MB / 1.338 GB, free: 11.62 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/1.218, allocations: 0 / 1.338 GB, free: 11.62 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.117e-05/1.218, allocations: 24 kB / 1.338 GB, free: 11.59 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.971e-05/1.218, allocations: 31.92 kB / 1.338 GB, free: 11.56 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/1.22, allocations: 0.9992 MB / 1.339 GB, free: 10.56 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005393/1.225, allocations: 3.606 MB / 1.343 GB, free: 6.852 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/1.226, allocations: 0.5512 MB / 1.343 GB, free: 6.293 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008543/1.227, allocations: 490.1 kB / 1.344 GB, free: 5.812 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007326/1.228, allocations: 136.3 kB / 1.344 GB, free: 5.676 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/1.228, allocations: 43 kB / 1.344 GB, free: 5.625 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002453/1.23, allocations: 0.6168 MB / 1.345 GB, free: 5.008 MB / 1.186 GB Notification: Performance of pre-optimization done (n=50): time 2.916e-06/1.23, allocations: 0 / 1.345 GB, free: 5.008 MB / 1.186 GB Notification: Performance of matching and sorting (n=50): time 0.01904/1.249, allocations: 3.662 MB / 1.348 GB, free: 1.336 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/1.25, allocations: 55.91 kB / 1.348 GB, free: 1.266 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008847/1.25, allocations: 0.5626 MB / 1.349 GB, free: 0.6914 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001251/1.251, allocations: 37.7 kB / 1.349 GB, free: 0.6484 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002965/1.251, allocations: 333 kB / 1.349 GB, free: 324 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/1.251, allocations: 182.4 kB / 1.349 GB, free: 140 kB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000321/1.251, allocations: 154 kB / 1.35 GB, free: 15.98 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002209/1.252, allocations: 374.8 kB / 1.35 GB, free: 15.61 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007621/1.252, allocations: 400.7 kB / 1.35 GB, free: 15.21 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008925/1.253, allocations: 0.5238 MB / 1.351 GB, free: 14.65 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001708/1.255, allocations: 0.9231 MB / 1.352 GB, free: 13.7 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/1.255, allocations: 0 / 1.352 GB, free: 13.7 MB / 1.201 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01242/1.267, allocations: 2.539 MB / 1.354 GB, free: 11.15 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/1.267, allocations: 8 kB / 1.354 GB, free: 11.14 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/1.267, allocations: 0 / 1.354 GB, free: 11.14 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01042/1.278, allocations: 1.726 MB / 1.356 GB, free: 9.406 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005151/1.278, allocations: 99.8 kB / 1.356 GB, free: 9.309 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01405/1.292, allocations: 6.826 MB / 1.363 GB, free: 2.266 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008126/1.293, allocations: 23.98 kB / 1.363 GB, free: 2.242 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/1.293, allocations: 47.94 kB / 1.363 GB, free: 2.195 MB / 1.201 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.0004473/1.294, allocations: 213.7 kB / 1.363 GB, free: 1.977 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002492/1.294, allocations: 71.53 kB / 1.363 GB, free: 1.906 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005529/1.3, allocations: 1.708 MB / 1.365 GB, free: 192 kB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/1.3, allocations: 8 kB / 1.365 GB, free: 184 kB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/1.3, allocations: 4 kB / 1.365 GB, free: 180 kB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/1.3, allocations: 7.922 kB / 1.365 GB, free: 172 kB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006481/1.306, allocations: 2.32 MB / 1.367 GB, free: 13.78 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/1.306, allocations: 3.938 kB / 1.367 GB, free: 13.78 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004635/1.307, allocations: 92.02 kB / 1.367 GB, free: 13.69 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003706/1.31, allocations: 0.8016 MB / 1.368 GB, free: 12.88 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.423e-05/1.31, allocations: 16 kB / 1.368 GB, free: 12.86 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007566/1.318, allocations: 4.56 MB / 1.372 GB, free: 8.094 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/1.318, allocations: 4 kB / 1.372 GB, free: 8.09 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005909/1.324, allocations: 2.123 MB / 1.374 GB, free: 5.926 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005108/1.324, allocations: 147.3 kB / 1.374 GB, free: 5.781 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/1.324, allocations: 12 kB / 1.374 GB, free: 5.77 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006616/1.325, allocations: 23.98 kB / 1.375 GB, free: 5.746 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002036/1.325, allocations: 56.34 kB / 1.375 GB, free: 5.691 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.843e-05/1.325, allocations: 16 kB / 1.375 GB, free: 5.676 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0005857/1.326, allocations: 403.1 kB / 1.375 GB, free: 5.285 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.3e-07/1.326, allocations: 3.938 kB / 1.375 GB, free: 5.281 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001102/1.327, allocations: 303.6 kB / 1.375 GB, free: 4.984 MB / 1.217 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.0003967/1.327, allocations: 199.2 kB / 1.375 GB, free: 4.781 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003879/1.331, allocations: 1.422 MB / 1.377 GB, free: 3.328 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.331, allocations: 0 / 1.377 GB, free: 3.328 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002069/1.333, allocations: 0.8674 MB / 1.378 GB, free: 2.434 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/1.335, allocations: 353.4 kB / 1.378 GB, free: 2.094 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003239/1.339, allocations: 1.7 MB / 1.38 GB, free: 372 kB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/1.339, allocations: 388.8 kB / 1.38 GB, free: 15.96 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0005379/1.34, allocations: 137.3 kB / 1.38 GB, free: 15.82 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/1.34, allocations: 64.47 kB / 1.38 GB, free: 15.75 MB / 1.232 GB Notification: Performance of SimCode: time 7.71e-07/1.34, allocations: 7.938 kB / 1.38 GB, free: 15.75 MB / 1.232 GB Notification: Performance of Templates: time 0.03663/1.376, allocations: 21.13 MB / 1.401 GB, free: 10.97 MB / 1.248 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 -s ida -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: 9.84512297611218]