Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.BaseClasses.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.001315/0.001315, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001588/0.001588, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9252/0.9252, allocations: 177.1 MB / 204.2 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.643/1.643, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.664e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001613/0.00164, allocations: 1.304 MB / 0.7884 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000248/0.001888, allocations: 104.8 kB / 0.7885 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.163e-05/0.00191, allocations: 7.938 kB / 0.7885 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.13e-05/0.001931, allocations: 8.922 kB / 0.7885 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.017e-05/0.002001, allocations: 0 / 0.7885 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.00219, allocations: 41.06 kB / 0.7885 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.01e-05/0.00224, allocations: 16.84 kB / 0.7885 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.209e-05/0.002272, allocations: 0 / 0.7885 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.194e-05/0.002304, allocations: 7.984 kB / 0.7885 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.889e-05/0.002353, allocations: 4.656 kB / 0.7885 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.002367, allocations: 3.469 kB / 0.7886 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.002473, allocations: 47.94 kB / 0.7886 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.002488, allocations: 7.938 kB / 0.7886 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.847e-05/0.002506, allocations: 7.984 kB / 0.7886 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.002619, allocations: 43.88 kB / 0.7887 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.002621, allocations: 0 / 0.7887 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.202e-06/0.002622, allocations: 0 / 0.7887 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.002627, allocations: 0 / 0.7887 GB, free: 10.9 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003164/0.002943, allocations: 352.3 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.002979, allocations: 8.75 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.00302, allocations: 18.89 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.318e-05/0.003103, allocations: 112.5 kB / 0.7891 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.003113, allocations: 384 / 0.7891 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-06/0.00312, allocations: 4.375 kB / 0.7891 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.418e-05/0.003184, allocations: 30.81 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.00319, allocations: 9.281 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.003198, allocations: 0 / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.003204, allocations: 0 / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.902e-05/0.003223, allocations: 5.578 kB / 0.7892 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001089/0.003332, allocations: 112.6 kB / 0.7893 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.663e-05/0.003378, allocations: 31.09 kB / 0.7893 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.647e-05/0.003395, allocations: 11.69 kB / 0.7893 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003013/0.003696, allocations: 92.97 kB / 0.7894 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.003717, allocations: 38.3 kB / 0.7894 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.863e-06/0.003719, allocations: 3.984 kB / 0.7894 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001293/0.003848, allocations: 46.17 kB / 0.7895 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.003873, allocations: 52.78 kB / 0.7895 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.302e-05/0.003946, allocations: 157.9 kB / 0.7897 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.003955, allocations: 29.7 kB / 0.7897 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.061e-05/0.003986, allocations: 126.9 kB / 0.7898 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.004007, allocations: 5.172 kB / 0.7898 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.004031, allocations: 19.38 kB / 0.7899 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.004135, allocations: 496.1 kB / 0.7903 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.003e-05/0.004145, allocations: 4.562 kB / 0.7903 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.044e-06/0.004152, allocations: 4.797 kB / 0.7903 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.432e-05/0.004176, allocations: 16.56 kB / 0.7904 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.004178, allocations: 0 / 0.7904 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.708e-05/0.004225, allocations: 42.7 kB / 0.7904 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.004236, allocations: 4 kB / 0.7904 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.00424, allocations: 0 / 0.7904 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.00425, allocations: 5.156 kB / 0.7904 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.573e-05/0.004296, allocations: 4 kB / 0.7904 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.004301, allocations: 3.984 kB / 0.7904 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.129e-05/0.004312, allocations: 0.8438 kB / 0.7904 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-06/0.004316, allocations: 0 / 0.7904 GB, free: 8.906 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003016/0.004618, allocations: 158.8 kB / 0.7906 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-06/0.004624, allocations: 7.891 kB / 0.7906 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.49e-05/0.004699, allocations: 45 kB / 0.7906 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.004701, allocations: 3.938 kB / 0.7906 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.004704, allocations: 0 / 0.7906 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.004707, allocations: 7.031 kB / 0.7906 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.646e-05/0.004763, allocations: 108.6 kB / 0.7907 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.004764, allocations: 0 / 0.7907 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.211e-05/0.004776, allocations: 4 kB / 0.7907 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.004779, allocations: 3.984 kB / 0.7907 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.004785, allocations: 0 / 0.7907 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.004786, allocations: 4 kB / 0.7907 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.004788, allocations: 3.938 kB / 0.7908 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.32e-05/0.004841, allocations: 81.67 kB / 0.7908 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-06/0.004848, allocations: 4 kB / 0.7908 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-06/0.004857, allocations: 3.984 kB / 0.7908 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.613e-06/0.004864, allocations: 0.625 kB / 0.7908 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.451e-05/0.004878, allocations: 3.938 kB / 0.7908 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.00488, allocations: 0.5625 kB / 0.7908 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.765e-05/0.004908, allocations: 123.2 kB / 0.791 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004908, allocations: 0.875 kB / 0.791 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001275/0.005035, allocations: 15.94 kB / 0.791 GB, free: 8.27 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001287/0.005164, allocations: 120.2 kB / 0.7911 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.608e-05/0.00523, allocations: 16.5 kB / 0.7911 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.005232, allocations: 0 / 0.7911 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.648e-06/0.005241, allocations: 20.55 kB / 0.7911 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.005381, allocations: 8.641 kB / 0.7911 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/0.005765, allocations: 115.8 kB / 0.7912 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.548e-05/0.00579, allocations: 55.36 kB / 0.7913 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.021e-05/0.00581, allocations: 7.641 kB / 0.7913 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.78e-05/0.005828, allocations: 12.5 kB / 0.7913 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of SimCode: time 6.72e-07/0.005829, allocations: 0 / 0.7913 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of Templates: time 0.00222/0.008049, allocations: 0.713 MB / 0.792 GB, free: 7.172 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.585904607083648]