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.001058/0.001058, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001855/0.001855, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.9823/0.9823, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.772/1.772, allocations: 359 MB / 0.6055 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 3.076e-06/3.076e-06, allocations: 0 / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.423e-05/4.731e-05, allocations: 5.125 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.00389/0.003937, allocations: 1.304 MB / 0.7884 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000465/0.004402, allocations: 109.1 kB / 0.7885 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.342e-05/0.004445, allocations: 3.938 kB / 0.7885 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.325e-05/0.004479, allocations: 3.219 kB / 0.7885 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.004591, allocations: 11.92 kB / 0.7885 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003673/0.004958, allocations: 31.89 kB / 0.7885 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.677e-05/0.005055, allocations: 23.86 kB / 0.7885 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.356e-05/0.005118, allocations: 0 / 0.7885 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.953e-05/0.005178, allocations: 7.984 kB / 0.7885 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.192e-05/0.00525, allocations: 8.984 kB / 0.7886 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.005271, allocations: 0 / 0.7886 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.005447, allocations: 48.53 kB / 0.7886 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/0.005469, allocations: 1.312 kB / 0.7886 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.005503, allocations: 4 kB / 0.7886 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.005694, allocations: 55.8 kB / 0.7887 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.005699, allocations: 0 / 0.7887 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.444e-06/0.005702, allocations: 1.562 kB / 0.7887 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.00571, allocations: 0 / 0.7887 GB, free: 11.21 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.0006067/0.006317, allocations: 352.3 kB / 0.789 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 0.000124/0.006441, allocations: 8.031 kB / 0.789 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.721e-05/0.006518, allocations: 6.766 kB / 0.789 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.00673, allocations: 124.5 kB / 0.7891 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.00675, allocations: 384 / 0.7891 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.006763, allocations: 384 / 0.7891 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.006886, allocations: 36.42 kB / 0.7892 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.006901, allocations: 7.922 kB / 0.7892 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.006914, allocations: 0 / 0.7892 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.006928, allocations: 4 kB / 0.7892 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.627e-05/0.006964, allocations: 0.5 kB / 0.7892 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002156/0.00718, allocations: 118.7 kB / 0.7893 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.502e-05/0.007265, allocations: 31.03 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.186e-05/0.007296, allocations: 11.75 kB / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003904/0.007687, allocations: 88.77 kB / 0.7894 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.007724, allocations: 33.39 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.733e-06/0.007725, allocations: 0.7188 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001937/0.007919, allocations: 46.22 kB / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.007962, allocations: 55.41 kB / 0.7895 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.008062, allocations: 155.3 kB / 0.7897 GB, free: 10 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.008074, allocations: 25.7 kB / 0.7897 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.00812, allocations: 134.8 kB / 0.7898 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.008155, allocations: 7.938 kB / 0.7899 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.008188, allocations: 20.47 kB / 0.7899 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002659/0.008454, allocations: 496.1 kB / 0.7903 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.858e-05/0.008472, allocations: 0 / 0.7903 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.201e-05/0.008484, allocations: 8.844 kB / 0.7904 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.502e-05/0.008549, allocations: 12.19 kB / 0.7904 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.008553, allocations: 0.8438 kB / 0.7904 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.269e-05/0.008625, allocations: 37.69 kB / 0.7904 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.008643, allocations: 10.09 kB / 0.7904 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.008648, allocations: 0 / 0.7904 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.008667, allocations: 3.938 kB / 0.7904 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.743e-05/0.008735, allocations: 7.938 kB / 0.7904 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.008741, allocations: 0 / 0.7904 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.617e-05/0.008757, allocations: 4.531 kB / 0.7904 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.008763, allocations: 0 / 0.7904 GB, free: 9.211 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 6.913e-05/0.008832, allocations: 159.1 kB / 0.7906 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-06/0.008841, allocations: 7.938 kB / 0.7906 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.008951, allocations: 41.02 kB / 0.7906 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.008954, allocations: 3.938 kB / 0.7906 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.008959, allocations: 0 / 0.7906 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.008964, allocations: 3.984 kB / 0.7906 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.716e-05/0.009041, allocations: 110.4 kB / 0.7907 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.009042, allocations: 0 / 0.7907 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.899e-05/0.009061, allocations: 8 kB / 0.7907 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.009064, allocations: 0 / 0.7907 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.00907, allocations: 0.5 kB / 0.7907 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.009072, allocations: 3.938 kB / 0.7907 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.009075, allocations: 4.5 kB / 0.7908 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.708e-05/0.009152, allocations: 73.19 kB / 0.7908 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.266e-05/0.009165, allocations: 4.594 kB / 0.7908 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.009183, allocations: 8 kB / 0.7908 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.797e-06/0.009192, allocations: 1.094 kB / 0.7908 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.096e-05/0.009213, allocations: 7.922 kB / 0.7908 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.009215, allocations: 0 / 0.7908 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.088e-05/0.009256, allocations: 123.8 kB / 0.791 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009256, allocations: 0 / 0.791 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001474/0.009404, allocations: 16.84 kB / 0.791 GB, free: 8.578 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.0002106/0.009614, allocations: 119.2 kB / 0.7911 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001075/0.009722, allocations: 23.62 kB / 0.7911 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.009724, allocations: 0 / 0.7911 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.989e-06/0.009734, allocations: 11.69 kB / 0.7911 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.009947, allocations: 7.984 kB / 0.7911 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005728/0.01052, allocations: 115.5 kB / 0.7912 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.034e-05/0.01056, allocations: 55.36 kB / 0.7913 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.319e-05/0.01059, allocations: 1.031 kB / 0.7913 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.454e-05/0.01062, allocations: 12.5 kB / 0.7913 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of SimCode: time 1.593e-06/0.01062, allocations: 1.125 kB / 0.7913 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of Templates: time 0.003135/0.01375, allocations: 0.6702 MB / 0.792 GB, free: 7.523 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.943961363984272]