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.001907/0.001907, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002841/0.002841, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.535/1.535, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 2.792/2.792, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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.483e-06/1.483e-06, allocations: 0.7656 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.867e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002822/0.00285, allocations: 1.287 MB / 0.7876 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003317/0.003182, allocations: 108.4 kB / 0.7877 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.142e-05/0.003214, allocations: 0.5625 kB / 0.7877 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.001e-05/0.003234, allocations: 1.125 kB / 0.7877 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.192e-05/0.003315, allocations: 7.922 kB / 0.7877 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.003553, allocations: 37.42 kB / 0.7878 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.846e-05/0.003631, allocations: 23.86 kB / 0.7878 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.763e-05/0.003669, allocations: 0 / 0.7878 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.025e-05/0.003709, allocations: 9.141 kB / 0.7878 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.197e-05/0.003771, allocations: 7.984 kB / 0.7878 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.003788, allocations: 0 / 0.7878 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.003945, allocations: 44.64 kB / 0.7879 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.003962, allocations: 4.578 kB / 0.7879 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/0.00399, allocations: 7.938 kB / 0.7879 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.00414, allocations: 49.19 kB / 0.7879 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.004143, allocations: 0 / 0.7879 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.61e-07/0.004144, allocations: 0 / 0.7879 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.004148, allocations: 1.531 kB / 0.7879 GB, free: 11.27 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.0004591/0.004607, allocations: 246.3 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.004647, allocations: 12.03 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.004693, allocations: 8.875 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.004841, allocations: 119.2 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.004855, allocations: 384 / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.455e-06/0.004863, allocations: 384 / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.272e-05/0.004956, allocations: 37.47 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.004966, allocations: 3.938 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.004974, allocations: 0 / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.004978, allocations: 0 / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.617e-05/0.005014, allocations: 4 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.005196, allocations: 101.3 kB / 0.7884 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.625e-05/0.005263, allocations: 30.59 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.322e-05/0.005286, allocations: 8.859 kB / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005171/0.005803, allocations: 80.83 kB / 0.7885 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.005838, allocations: 31.5 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.005839, allocations: 0 / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001707/0.00601, allocations: 50.34 kB / 0.7886 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.00606, allocations: 55.34 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.602e-05/0.006156, allocations: 98.45 kB / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.006173, allocations: 31.02 kB / 0.7888 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.895e-05/0.006222, allocations: 80.14 kB / 0.7889 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.006249, allocations: 11.89 kB / 0.7889 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.006286, allocations: 17.7 kB / 0.7889 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.006474, allocations: 316.4 kB / 0.7892 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.349e-05/0.006488, allocations: 0 / 0.7892 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.195e-05/0.0065, allocations: 4 kB / 0.7892 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.452e-05/0.006534, allocations: 14.95 kB / 0.7892 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.006536, allocations: 0 / 0.7892 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.393e-05/0.00662, allocations: 45.62 kB / 0.7893 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.006634, allocations: 4 kB / 0.7893 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.006639, allocations: 0 / 0.7893 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.006659, allocations: 4.469 kB / 0.7893 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.159e-05/0.00671, allocations: 6.562 kB / 0.7893 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.006715, allocations: 0 / 0.7893 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.247e-05/0.006738, allocations: 4 kB / 0.7893 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.006742, allocations: 0 / 0.7893 GB, free: 9.715 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 9.672e-05/0.006839, allocations: 109.8 kB / 0.7894 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-06/0.006848, allocations: 0 / 0.7894 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.006959, allocations: 50.67 kB / 0.7894 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.006969, allocations: 7.938 kB / 0.7894 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.006973, allocations: 0 / 0.7894 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.006976, allocations: 0 / 0.7894 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.007089, allocations: 105.3 kB / 0.7895 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.00709, allocations: 0.5 kB / 0.7895 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.674e-05/0.007117, allocations: 4.5 kB / 0.7895 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.007122, allocations: 4 kB / 0.7895 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.007128, allocations: 1.562 kB / 0.7895 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.007129, allocations: 0 / 0.7895 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.912e-06/0.007135, allocations: 7.938 kB / 0.7896 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.007244, allocations: 65.62 kB / 0.7896 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-06/0.007252, allocations: 192 / 0.7896 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.007264, allocations: 2.094 kB / 0.7896 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.169e-05/0.007295, allocations: 3.984 kB / 0.7896 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.789e-05/0.007313, allocations: 7.938 kB / 0.7896 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.007316, allocations: 0 / 0.7896 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.854e-05/0.007375, allocations: 87.2 kB / 0.7897 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007375, allocations: 0 / 0.7897 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002087/0.007584, allocations: 17.03 kB / 0.7897 GB, free: 9.191 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.0002029/0.007787, allocations: 120 kB / 0.7898 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.745e-05/0.007864, allocations: 8 kB / 0.7899 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.007866, allocations: 0.5 kB / 0.7899 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.226e-05/0.007879, allocations: 4.844 kB / 0.7899 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.008124, allocations: 14.44 kB / 0.7899 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003318/0.008456, allocations: 108.4 kB / 0.79 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.771e-05/0.008524, allocations: 59.34 kB / 0.79 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.484e-05/0.008548, allocations: 3.938 kB / 0.79 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.008578, allocations: 12.5 kB / 0.79 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/0.008578, allocations: 0 / 0.79 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of Templates: time 0.003412/0.01199, allocations: 0.6626 MB / 0.7907 GB, free: 8.176 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.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: 7.887893300037831]