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.002327/0.002327, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.00275/0.00275, allocations: 157.3 kB / 23.55 MB, free: 0.8828 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.556/1.556, allocations: 177.1 MB / 203.9 MB, free: 5.602 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 3.181/3.181, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] 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.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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/2.949e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2648/0.2648, allocations: 189.8 MB / 0.9961 GB, free: 3.734 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.008019/0.2729, allocations: 4.11 MB / 1 GB, free: 15.61 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007501/0.2736, allocations: 31.75 kB / 1 GB, free: 15.58 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.275, allocations: 460.9 kB / 1.001 GB, free: 15.13 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.004176/0.2792, allocations: 1.605 MB / 1.002 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.003957/0.2831, allocations: 1.444 MB / 1.004 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.002844/0.286, allocations: 1.657 MB / 1.005 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001506/0.2875, allocations: 0.9119 MB / 1.006 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002981/0.2904, allocations: 1.368 MB / 1.007 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001326/0.2918, allocations: 0.787 MB / 1.008 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.000201/0.292, allocations: 100 kB / 1.008 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002415/0.2944, allocations: 1.11 MB / 1.009 GB, free: 6.105 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0004622/0.2949, allocations: 378.9 kB / 1.01 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0005913/0.2954, allocations: 395.1 kB / 1.01 GB, free: 5.348 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.002836/0.2983, allocations: 1.772 MB / 1.012 GB, free: 3.57 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2983, allocations: 4 kB / 1.012 GB, free: 3.566 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2983, allocations: 0 / 1.012 GB, free: 3.566 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.2983, allocations: 0 / 1.012 GB, free: 3.566 MB / 0.9636 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.002994/0.3013, allocations: 1.323 MB / 1.013 GB, free: 2.203 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3013, allocations: 12.03 kB / 1.013 GB, free: 2.191 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001919/0.3032, allocations: 322.8 kB / 1.013 GB, free: 1.875 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.3044, allocations: 0.5644 MB / 1.014 GB, free: 1.285 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.615e-05/0.3044, allocations: 37 kB / 1.014 GB, free: 1.25 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.3046, allocations: 55.95 kB / 1.014 GB, free: 1.195 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.3064, allocations: 1.018 MB / 1.015 GB, free: 68 kB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/0.3064, allocations: 7.938 kB / 1.015 GB, free: 60 kB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-05/0.3065, allocations: 20 kB / 1.015 GB, free: 40 kB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.055e-05/0.3065, allocations: 27.98 kB / 1.015 GB, free: 12 kB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/0.3082, allocations: 0.8353 MB / 1.016 GB, free: 15.17 MB / 0.9792 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006528/0.3147, allocations: 4.57 MB / 1.02 GB, free: 10.47 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.3157, allocations: 0.4914 MB / 1.021 GB, free: 9.969 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007602/0.3165, allocations: 412.9 kB / 1.021 GB, free: 9.562 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007396/0.3172, allocations: 132.4 kB / 1.021 GB, free: 9.434 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.3173, allocations: 45.83 kB / 1.021 GB, free: 9.379 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002467/0.3197, allocations: 0.6283 MB / 1.022 GB, free: 8.75 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=50): time 2.705e-06/0.3198, allocations: 0 / 1.022 GB, free: 8.75 MB / 0.9792 GB Notification: Performance of matching and sorting (n=50): time 0.01645/0.3362, allocations: 3.098 MB / 1.025 GB, free: 5.637 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.3363, allocations: 59.91 kB / 1.025 GB, free: 5.566 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009397/0.3372, allocations: 0.6675 MB / 1.026 GB, free: 4.887 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 8.987e-05/0.3373, allocations: 33.7 kB / 1.026 GB, free: 4.848 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/0.3377, allocations: 411.8 kB / 1.026 GB, free: 4.438 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002288/0.3379, allocations: 186.4 kB / 1.026 GB, free: 4.254 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003304/0.3382, allocations: 167.7 kB / 1.027 GB, free: 4.082 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003712/0.3386, allocations: 0.5781 MB / 1.027 GB, free: 3.492 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008937/0.3395, allocations: 328.8 kB / 1.027 GB, free: 3.172 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008382/0.3403, allocations: 0.4901 MB / 1.028 GB, free: 2.629 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.3419, allocations: 0.8152 MB / 1.029 GB, free: 1.777 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.3419, allocations: 4.031 kB / 1.029 GB, free: 1.773 MB / 0.9792 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01097/0.3529, allocations: 2.162 MB / 1.031 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.3529, allocations: 8 kB / 1.031 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.3529, allocations: 0 / 1.031 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01295/0.3658, allocations: 2.344 MB / 1.033 GB, free: 13.23 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005304/0.3664, allocations: 95.8 kB / 1.033 GB, free: 13.14 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01434/0.3807, allocations: 7.043 MB / 1.04 GB, free: 5.828 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007845/0.3815, allocations: 16 kB / 1.04 GB, free: 5.812 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.3816, allocations: 47.92 kB / 1.04 GB, free: 5.766 MB / 0.9948 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.382, allocations: 236.3 kB / 1.04 GB, free: 5.523 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002469/0.3823, allocations: 83.53 kB / 1.04 GB, free: 5.441 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005696/0.388, allocations: 1.584 MB / 1.042 GB, free: 3.844 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.388, allocations: 8 kB / 1.042 GB, free: 3.836 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.388, allocations: 4 kB / 1.042 GB, free: 3.832 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.388, allocations: 3.938 kB / 1.042 GB, free: 3.828 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006489/0.3945, allocations: 2.306 MB / 1.044 GB, free: 1.449 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.3945, allocations: 0 / 1.044 GB, free: 1.449 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004722/0.395, allocations: 87.83 kB / 1.044 GB, free: 1.363 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3112/0.7061, allocations: 1.396 MB / 1.046 GB, free: 276.5 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000152/0.7063, allocations: 24.91 kB / 1.046 GB, free: 276.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00567/0.712, allocations: 4.975 MB / 1.051 GB, free: 273.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.712, allocations: 7.25 kB / 1.051 GB, free: 273.1 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004801/0.7168, allocations: 1.961 MB / 1.053 GB, free: 272.7 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004247/0.7172, allocations: 134.9 kB / 1.053 GB, free: 272.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.7173, allocations: 16.81 kB / 1.053 GB, free: 272.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005476/0.7179, allocations: 19.84 kB / 1.053 GB, free: 272.7 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.718, allocations: 57.28 kB / 1.053 GB, free: 272.7 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.923e-05/0.7181, allocations: 22.12 kB / 1.053 GB, free: 272.7 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004082/0.7185, allocations: 442.3 kB / 1.053 GB, free: 272.4 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.7185, allocations: 1.156 kB / 1.053 GB, free: 272.4 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0009371/0.7194, allocations: 314.1 kB / 1.054 GB, free: 272.4 MB / 0.9948 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.0003428/0.7198, allocations: 197.5 kB / 1.054 GB, free: 272.3 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00308/0.7229, allocations: 1.45 MB / 1.055 GB, free: 271.7 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.7229, allocations: 0.5625 kB / 1.055 GB, free: 271.7 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001587/0.7244, allocations: 0.9588 MB / 1.056 GB, free: 271.2 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/0.7262, allocations: 357.6 kB / 1.056 GB, free: 271.1 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.7283, allocations: 1.583 MB / 1.058 GB, free: 270.3 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.7286, allocations: 385.8 kB / 1.058 GB, free: 270.2 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0004126/0.729, allocations: 127.8 kB / 1.058 GB, free: 270.2 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.7292, allocations: 64.88 kB / 1.058 GB, free: 270.2 MB / 0.9948 GB Notification: Performance of SimCode: time 9.61e-07/0.7292, allocations: 3.531 kB / 1.058 GB, free: 270.2 MB / 0.9948 GB Notification: Performance of Templates: time 0.03044/0.7596, allocations: 21.36 MB / 1.079 GB, free: 268 MB / 0.9948 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 240] 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/jenkins/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.607293697074056]