Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.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.001262/0.001262, allocations: 73.88 kB / 20.66 MB, free: 3.84 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.000955/0.000955, allocations: 173 kB / 24.06 MB, free: 452 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.9009/0.9009, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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.079/2.079, allocations: 429.5 MB / 0.6743 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.BaseClasses.Examples.PowerLaw05,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 0.8794 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.079e-05, allocations: 4.422 kB / 0.8794 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05): time 0.0017/0.001721, allocations: 1.355 MB / 0.8807 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006648/0.002386, allocations: 289.9 kB / 0.881 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.826e-05/0.002424, allocations: 1.125 kB / 0.881 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.848e-05/0.002443, allocations: 0 / 0.881 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.002606, allocations: 21.64 kB / 0.881 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.002782, allocations: 70.66 kB / 0.8811 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.387e-05/0.002845, allocations: 43.78 kB / 0.8811 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.752e-05/0.002883, allocations: 4 kB / 0.8811 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.002993, allocations: 36.62 kB / 0.8812 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.903e-05/0.003032, allocations: 9.641 kB / 0.8812 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.003045, allocations: 0 / 0.8812 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.003155, allocations: 71.91 kB / 0.8812 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.003169, allocations: 3.938 kB / 0.8812 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.365e-05/0.003183, allocations: 4.5 kB / 0.8812 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.003309, allocations: 91.64 kB / 0.8813 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.003311, allocations: 1.344 kB / 0.8813 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003312, allocations: 0 / 0.8813 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.003315, allocations: 0 / 0.8813 GB, free: 4.012 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003049/0.00362, allocations: 385.9 kB / 0.8817 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.003651, allocations: 8.031 kB / 0.8817 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002912/0.003942, allocations: 64.73 kB / 0.8818 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.341e-05/0.004025, allocations: 108.6 kB / 0.8819 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.004038, allocations: 384 / 0.8819 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.004048, allocations: 4.375 kB / 0.8819 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.004165, allocations: 92.62 kB / 0.882 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.004174, allocations: 3.938 kB / 0.882 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.004181, allocations: 0 / 0.882 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.004186, allocations: 0 / 0.882 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.914e-05/0.004225, allocations: 23.91 kB / 0.882 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001115/0.004336, allocations: 117.1 kB / 0.8821 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.004456, allocations: 55.08 kB / 0.8822 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.332e-05/0.004479, allocations: 19.75 kB / 0.8822 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.004489, allocations: 0 / 0.8822 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.004512, allocations: 41.38 kB / 0.8822 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.004513, allocations: 0 / 0.8822 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001456/0.004658, allocations: 61.62 kB / 0.8823 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.004684, allocations: 55.34 kB / 0.8823 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.112e-05/0.004745, allocations: 165.9 kB / 0.8825 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.004757, allocations: 29.7 kB / 0.8825 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.597e-05/0.004793, allocations: 134.9 kB / 0.8826 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.004815, allocations: 7.906 kB / 0.8827 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.004847, allocations: 23.38 kB / 0.8827 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.004949, allocations: 496.1 kB / 0.8831 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.206e-05/0.004971, allocations: 11.98 kB / 0.8832 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.683e-05/0.004988, allocations: 7.938 kB / 0.8832 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.169e-05/0.00503, allocations: 27.61 kB / 0.8832 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.005031, allocations: 0 / 0.8832 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.315e-05/0.005105, allocations: 53.97 kB / 0.8832 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.005115, allocations: 4 kB / 0.8832 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.005119, allocations: 4 kB / 0.8833 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/0.005127, allocations: 0 / 0.8833 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.277e-05/0.005199, allocations: 15.97 kB / 0.8833 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-06/0.005202, allocations: 0 / 0.8833 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.91e-05/0.005241, allocations: 15.97 kB / 0.8833 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.005246, allocations: 0 / 0.8833 GB, free: 1.812 MB / 0.8386 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 (3): * Single equations (assignments): 3 * 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.05e-05/0.005306, allocations: 156.6 kB / 0.8834 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/0.005318, allocations: 7.953 kB / 0.8834 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.246e-05/0.005341, allocations: 11.92 kB / 0.8835 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.005343, allocations: 4 kB / 0.8835 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.005345, allocations: 7.938 kB / 0.8835 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.005347, allocations: 0 / 0.8835 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.984e-05/0.005417, allocations: 105.2 kB / 0.8836 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.005418, allocations: 0 / 0.8836 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.629e-05/0.005464, allocations: 15.98 kB / 0.8836 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.005465, allocations: 0 / 0.8836 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.005471, allocations: 3.984 kB / 0.8836 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.005472, allocations: 0 / 0.8836 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.005473, allocations: 0 / 0.8836 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.359e-05/0.005566, allocations: 92.38 kB / 0.8837 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.005602, allocations: 11.94 kB / 0.8837 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.005612, allocations: 4 kB / 0.8837 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.073e-05/0.005653, allocations: 7.984 kB / 0.8837 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.005666, allocations: 4 kB / 0.8837 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.005672, allocations: 7.938 kB / 0.8837 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.514e-05/0.005707, allocations: 131.5 kB / 0.8838 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005707, allocations: 0 / 0.8838 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001184/0.005825, allocations: 8 kB / 0.8838 GB, free: 1.184 MB / 0.8386 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 (3): * Single equations (assignments): 3 * 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 7.481e-05/0.0059, allocations: 95.25 kB / 0.8839 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.927e-05/0.005979, allocations: 39.59 kB / 0.884 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.005981, allocations: 0 / 0.884 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.269e-05/0.006003, allocations: 23.67 kB / 0.884 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.006139, allocations: 17.75 kB / 0.884 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004087/0.006547, allocations: 170.2 kB / 0.8842 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.734e-05/0.006575, allocations: 55.36 kB / 0.8842 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.546e-05/0.00662, allocations: 8 kB / 0.8842 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.949e-05/0.00669, allocations: 78.19 kB / 0.8843 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of SimCode: time 9.02e-07/0.006691, allocations: 0 / 0.8843 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of Templates: time 0.002139/0.008829, allocations: 0.8649 MB / 0.8851 GB, free: 15.8 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw05.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: 5.212945008184761]