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.0009433/0.0009433, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009183/0.0009183, allocations: 173 kB / 23.49 MB, free: 1.055 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.9716/0.9716, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.025/2.025, allocations: 429.5 MB / 0.6736 GB, free: 4.047 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.653e-06/1.653e-06, allocations: 0 / 0.8782 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.908e-05/3.073e-05, allocations: 2.859 kB / 0.8782 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05): time 0.002787/0.002818, allocations: 1.357 MB / 0.8795 GB, free: 5.305 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006065/0.003424, allocations: 297 kB / 0.8798 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.688e-05/0.003471, allocations: 0 / 0.8798 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.254e-05/0.003494, allocations: 1.156 kB / 0.8798 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002039/0.003698, allocations: 20.86 kB / 0.8798 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.003959, allocations: 72.7 kB / 0.8799 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.518e-05/0.004044, allocations: 31.86 kB / 0.8799 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.818e-05/0.004093, allocations: 5.125 kB / 0.8799 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.004236, allocations: 41.7 kB / 0.88 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.939e-05/0.004285, allocations: 7.938 kB / 0.88 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.004302, allocations: 1.562 kB / 0.88 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.00447, allocations: 71.91 kB / 0.88 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.004488, allocations: 0 / 0.88 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.004516, allocations: 11.94 kB / 0.88 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.004696, allocations: 85.3 kB / 0.8801 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.0047, allocations: 4 kB / 0.8801 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.162e-06/0.004701, allocations: 0 / 0.8801 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.004706, allocations: 0 / 0.8801 GB, free: 4.68 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.000427/0.005133, allocations: 385.3 kB / 0.8805 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.005178, allocations: 8.031 kB / 0.8805 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004576/0.005636, allocations: 63.41 kB / 0.8806 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.005753, allocations: 108.6 kB / 0.8807 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.00577, allocations: 384 / 0.8807 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.005788, allocations: 4.375 kB / 0.8807 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.005965, allocations: 99.86 kB / 0.8808 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.005974, allocations: 7.875 kB / 0.8808 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.005988, allocations: 0 / 0.8808 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.005999, allocations: 0 / 0.8808 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.418e-05/0.006073, allocations: 23.92 kB / 0.8808 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/0.006253, allocations: 132.6 kB / 0.8809 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.006456, allocations: 59.05 kB / 0.881 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.778e-05/0.006504, allocations: 25.02 kB / 0.881 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.006519, allocations: 0 / 0.881 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.006545, allocations: 37.39 kB / 0.881 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 2.695e-06/0.006548, allocations: 1.094 kB / 0.881 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002346/0.006782, allocations: 77.55 kB / 0.8811 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.006817, allocations: 51.41 kB / 0.8812 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.006918, allocations: 173.9 kB / 0.8813 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.006934, allocations: 25.7 kB / 0.8814 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.626e-05/0.00698, allocations: 126.9 kB / 0.8815 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.007011, allocations: 15.89 kB / 0.8815 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.872e-05/0.00706, allocations: 23.36 kB / 0.8815 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.007195, allocations: 0.4884 MB / 0.882 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.497e-05/0.00723, allocations: 4 kB / 0.882 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.133e-05/0.007261, allocations: 11.98 kB / 0.882 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.351e-05/0.007335, allocations: 27.91 kB / 0.882 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.007337, allocations: 0 / 0.882 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001317/0.007469, allocations: 65.66 kB / 0.8821 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.007485, allocations: 12 kB / 0.8821 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.00749, allocations: 0 / 0.8821 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.007506, allocations: 3.938 kB / 0.8821 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.007617, allocations: 11.98 kB / 0.8821 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.007623, allocations: 0 / 0.8821 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.527e-05/0.007678, allocations: 11.98 kB / 0.8821 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.007687, allocations: 4 kB / 0.8821 GB, free: 2.418 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 8.274e-05/0.00777, allocations: 152.6 kB / 0.8823 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.00779, allocations: 7.953 kB / 0.8823 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.094e-05/0.007831, allocations: 12 kB / 0.8823 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.007834, allocations: 7.875 kB / 0.8823 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.007838, allocations: 0 / 0.8823 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.007842, allocations: 4 kB / 0.8823 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.007954, allocations: 128.6 kB / 0.8824 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.007955, allocations: 0 / 0.8824 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.606e-05/0.008031, allocations: 11.98 kB / 0.8824 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.008034, allocations: 0 / 0.8824 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.008045, allocations: 3.984 kB / 0.8824 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.008047, allocations: 0 / 0.8824 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.008049, allocations: 7.938 kB / 0.8825 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.008206, allocations: 88.44 kB / 0.8825 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.346e-05/0.008259, allocations: 11.94 kB / 0.8826 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.008279, allocations: 4 kB / 0.8826 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.599e-05/0.008345, allocations: 7.984 kB / 0.8826 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-05/0.008367, allocations: 7.938 kB / 0.8826 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.008375, allocations: 0 / 0.8826 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.385e-05/0.008428, allocations: 139.4 kB / 0.8827 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.008429, allocations: 0 / 0.8827 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002118/0.00864, allocations: 12 kB / 0.8827 GB, free: 1.754 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 0.0001078/0.008748, allocations: 99.25 kB / 0.8828 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000135/0.008883, allocations: 35.66 kB / 0.8828 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.008887, allocations: 4 kB / 0.8828 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.627e-05/0.008923, allocations: 15.69 kB / 0.8829 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.009136, allocations: 17.02 kB / 0.8829 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006696/0.009805, allocations: 178.1 kB / 0.883 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.759e-05/0.009843, allocations: 55.36 kB / 0.8831 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.358e-05/0.009906, allocations: 4 kB / 0.8831 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.74e-05/0.009954, allocations: 12.5 kB / 0.8831 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of SimCode: time 9.82e-07/0.009955, allocations: 4 kB / 0.8831 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of Templates: time 0.002877/0.01283, allocations: 0.7849 MB / 0.8839 GB, free: 0.5117 MB / 0.8386 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.004410288995132]