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.001562/0.001562, allocations: 79.97 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.001787/0.001787, allocations: 156.2 kB / 23.01 MB, free: 4.941 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.429/1.429, allocations: 177.2 MB / 203.4 MB, free: 8.969 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.884/2.884, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002126/0.002126, allocations: 67.89 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.872/0.8741, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.229/1.103, allocations: 170.5 MB / 1.353 GB, free: 11.25 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.007267/1.11, allocations: 3.937 MB / 1.357 GB, free: 7.309 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006361/1.111, allocations: 31.75 kB / 1.357 GB, free: 7.277 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001379/1.112, allocations: 457.1 kB / 1.357 GB, free: 6.828 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004107/1.117, allocations: 1.64 MB / 1.359 GB, free: 5.184 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003622/1.12, allocations: 1.386 MB / 1.36 GB, free: 3.797 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002865/1.123, allocations: 1.69 MB / 1.362 GB, free: 2.098 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001334/1.124, allocations: 0.8461 MB / 1.363 GB, free: 1.238 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002109/1.126, allocations: 1.141 MB / 1.364 GB, free: 96 kB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001444/1.128, allocations: 0.8564 MB / 1.365 GB, free: 15.23 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002937/1.128, allocations: 108 kB / 1.365 GB, free: 15.13 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002357/1.131, allocations: 1.13 MB / 1.366 GB, free: 14 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.000425/1.131, allocations: 374.9 kB / 1.366 GB, free: 13.63 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0005852/1.132, allocations: 478 kB / 1.367 GB, free: 13.16 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002713/1.134, allocations: 1.701 MB / 1.368 GB, free: 11.46 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.778e-06/1.134, allocations: 0 / 1.368 GB, free: 11.46 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.643e-06/1.134, allocations: 0 / 1.368 GB, free: 11.46 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.494e-05/1.134, allocations: 0 / 1.368 GB, free: 11.46 MB / 1.217 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.002948/1.137, allocations: 1.216 MB / 1.37 GB, free: 10.21 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/1.137, allocations: 12.03 kB / 1.37 GB, free: 10.2 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00352/1.141, allocations: 430.9 kB / 1.37 GB, free: 9.773 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/1.142, allocations: 0.5849 MB / 1.371 GB, free: 9.156 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.029e-05/1.142, allocations: 37 kB / 1.371 GB, free: 9.117 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/1.142, allocations: 47.98 kB / 1.371 GB, free: 9.07 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002324/1.144, allocations: 1.183 MB / 1.372 GB, free: 7.809 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/1.145, allocations: 15.88 kB / 1.372 GB, free: 7.793 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.594e-05/1.145, allocations: 20 kB / 1.372 GB, free: 7.773 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.055e-05/1.145, allocations: 27.98 kB / 1.372 GB, free: 7.746 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002711/1.147, allocations: 1.202 MB / 1.373 GB, free: 6.543 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006479/1.154, allocations: 3.809 MB / 1.377 GB, free: 2.625 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002511/1.156, allocations: 0.8439 MB / 1.378 GB, free: 1.773 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/1.158, allocations: 0.5761 MB / 1.378 GB, free: 1.195 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000521/1.158, allocations: 88.41 kB / 1.378 GB, free: 1.109 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/1.158, allocations: 39.06 kB / 1.378 GB, free: 1.059 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002554/1.161, allocations: 0.6167 MB / 1.379 GB, free: 452 kB / 1.217 GB Notification: Performance of pre-optimization done (n=50): time 2.555e-06/1.161, allocations: 0 / 1.379 GB, free: 452 kB / 1.217 GB Notification: Performance of matching and sorting (n=50): time 0.02089/1.182, allocations: 3.951 MB / 1.383 GB, free: 12.48 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001602/1.182, allocations: 63.91 kB / 1.383 GB, free: 12.4 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009659/1.183, allocations: 0.5781 MB / 1.383 GB, free: 11.82 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001525/1.183, allocations: 37.7 kB / 1.383 GB, free: 11.77 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003317/1.183, allocations: 337.1 kB / 1.384 GB, free: 11.44 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/1.183, allocations: 182.4 kB / 1.384 GB, free: 11.26 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003284/1.184, allocations: 158 kB / 1.384 GB, free: 11.09 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.000196/1.184, allocations: 370.8 kB / 1.384 GB, free: 10.72 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/1.185, allocations: 0.4928 MB / 1.385 GB, free: 10.23 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/1.187, allocations: 0.6292 MB / 1.386 GB, free: 9.566 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002595/1.189, allocations: 1.091 MB / 1.387 GB, free: 8.445 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.189, allocations: 0 / 1.387 GB, free: 8.445 MB / 1.232 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01347/1.203, allocations: 2.745 MB / 1.389 GB, free: 5.684 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/1.203, allocations: 4.625 kB / 1.389 GB, free: 5.68 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.203, allocations: 8.125 kB / 1.389 GB, free: 5.672 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01054/1.213, allocations: 1.718 MB / 1.391 GB, free: 3.945 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008898/1.214, allocations: 131.7 kB / 1.391 GB, free: 3.816 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0142/1.228, allocations: 6.831 MB / 1.398 GB, free: 12.77 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/1.229, allocations: 55.94 kB / 1.398 GB, free: 12.71 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/1.23, allocations: 47.92 kB / 1.398 GB, free: 12.67 MB / 1.248 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.000449/1.23, allocations: 205.7 kB / 1.398 GB, free: 12.46 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002127/1.23, allocations: 71.58 kB / 1.398 GB, free: 12.39 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006403/1.237, allocations: 1.899 MB / 1.4 GB, free: 10.47 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/1.237, allocations: 8 kB / 1.4 GB, free: 10.46 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/1.237, allocations: 4 kB / 1.4 GB, free: 10.46 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/1.237, allocations: 7.922 kB / 1.4 GB, free: 10.45 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007611/1.244, allocations: 2.61 MB / 1.403 GB, free: 7.777 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-05/1.244, allocations: 3.938 kB / 1.403 GB, free: 7.773 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008245/1.245, allocations: 123.7 kB / 1.403 GB, free: 7.652 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003744/1.249, allocations: 0.7945 MB / 1.404 GB, free: 6.852 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.859e-05/1.249, allocations: 19.98 kB / 1.404 GB, free: 6.832 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007524/1.256, allocations: 4.567 MB / 1.408 GB, free: 2.059 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.256, allocations: 0 / 1.408 GB, free: 2.059 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007281/1.264, allocations: 2.442 MB / 1.41 GB, free: 15.57 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005039/1.264, allocations: 163.4 kB / 1.411 GB, free: 15.41 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/1.264, allocations: 12 kB / 1.411 GB, free: 15.4 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008973/1.265, allocations: 51.94 kB / 1.411 GB, free: 15.35 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001902/1.265, allocations: 52.34 kB / 1.411 GB, free: 15.3 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.519e-05/1.265, allocations: 23.98 kB / 1.411 GB, free: 15.27 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0005428/1.266, allocations: 407.1 kB / 1.411 GB, free: 14.88 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/1.266, allocations: 0 / 1.411 GB, free: 14.88 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001057/1.267, allocations: 319.6 kB / 1.411 GB, free: 14.57 MB / 1.264 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.0003499/1.267, allocations: 179.2 kB / 1.412 GB, free: 14.39 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.004794/1.272, allocations: 1.612 MB / 1.413 GB, free: 12.75 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.272, allocations: 0 / 1.413 GB, free: 12.75 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002503/1.275, allocations: 0.9574 MB / 1.414 GB, free: 11.77 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/1.277, allocations: 355.3 kB / 1.414 GB, free: 11.42 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003705/1.28, allocations: 1.788 MB / 1.416 GB, free: 9.598 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/1.281, allocations: 392.8 kB / 1.416 GB, free: 9.18 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0006376/1.281, allocations: 153.3 kB / 1.417 GB, free: 9.027 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002986/1.282, allocations: 68.45 kB / 1.417 GB, free: 8.961 MB / 1.264 GB Notification: Performance of SimCode: time 8.12e-07/1.282, allocations: 0 / 1.417 GB, free: 8.961 MB / 1.264 GB Notification: Performance of Templates: time 0.04064/1.322, allocations: 23.53 MB / 1.44 GB, free: 1.797 MB / 1.279 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 -s ida -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/jenkins1/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.974889972945675]