Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.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.0008677/0.0008677, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008148/0.0008148, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.9025/0.9025, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.765/1.765, allocations: 377.9 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.WindPressureProfile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|CpAct",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|CpAct",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.9822 GB, free: 2.109 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.977e-05/3.195e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.105 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.001974/0.002006, allocations: 1.464 MB / 0.9836 GB, free: 0.6328 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001495/0.003501, allocations: 0.8801 MB / 0.9845 GB, free: 15.75 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.582e-05/0.003547, allocations: 0 / 0.9845 GB, free: 15.75 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.003718, allocations: 11.92 kB / 0.9845 GB, free: 15.74 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004977/0.004216, allocations: 139.6 kB / 0.9846 GB, free: 15.6 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.004354, allocations: 110.9 kB / 0.9847 GB, free: 15.5 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.004455, allocations: 59.83 kB / 0.9848 GB, free: 15.44 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.004501, allocations: 15.92 kB / 0.9848 GB, free: 15.42 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.004649, allocations: 43.89 kB / 0.9848 GB, free: 15.38 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.004756, allocations: 47.89 kB / 0.9849 GB, free: 15.33 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.004773, allocations: 4 kB / 0.9849 GB, free: 15.33 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002744/0.005047, allocations: 243.6 kB / 0.9851 GB, free: 15.09 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.423e-05/0.005121, allocations: 59.88 kB / 0.9852 GB, free: 15.03 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.383e-05/0.005155, allocations: 27.88 kB / 0.9852 GB, free: 15 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003065/0.005462, allocations: 299.2 kB / 0.9855 GB, free: 14.71 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.005464, allocations: 0 / 0.9855 GB, free: 14.71 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.032e-06/0.005465, allocations: 4 kB / 0.9855 GB, free: 14.71 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.00547, allocations: 0 / 0.9855 GB, free: 14.71 MB / 0.948 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.0004951/0.005965, allocations: 405 kB / 0.9859 GB, free: 14.28 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.006004, allocations: 12.03 kB / 0.9859 GB, free: 14.27 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.333e-05/0.006047, allocations: 12.84 kB / 0.9859 GB, free: 14.26 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.006261, allocations: 214.2 kB / 0.9861 GB, free: 14.02 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.006272, allocations: 384 / 0.9861 GB, free: 14.02 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.006284, allocations: 4.375 kB / 0.9861 GB, free: 14.02 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.006426, allocations: 69.8 kB / 0.9862 GB, free: 13.95 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.006434, allocations: 0 / 0.9862 GB, free: 13.95 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.006443, allocations: 0 / 0.9862 GB, free: 13.95 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.006448, allocations: 4 kB / 0.9862 GB, free: 13.94 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.006557, allocations: 83.92 kB / 0.9863 GB, free: 13.86 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.006734, allocations: 173.2 kB / 0.9864 GB, free: 13.66 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.006914, allocations: 114.5 kB / 0.9865 GB, free: 13.54 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.293e-05/0.006977, allocations: 48.88 kB / 0.9866 GB, free: 13.49 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.328e-05/0.00702, allocations: 12 kB / 0.9866 GB, free: 13.48 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.00704, allocations: 38.55 kB / 0.9866 GB, free: 13.43 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.007041, allocations: 0 / 0.9866 GB, free: 13.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0002709/0.007312, allocations: 177.5 kB / 0.9868 GB, free: 13.25 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.007349, allocations: 51.41 kB / 0.9869 GB, free: 13.19 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.007547, allocations: 295.2 kB / 0.9871 GB, free: 12.89 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.007559, allocations: 25.7 kB / 0.9872 GB, free: 12.86 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.007615, allocations: 116.1 kB / 0.9873 GB, free: 12.74 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.007645, allocations: 19.83 kB / 0.9873 GB, free: 12.72 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.007673, allocations: 13.72 kB / 0.9873 GB, free: 12.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.455e-05/0.007757, allocations: 326.8 kB / 0.9876 GB, free: 12.38 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.378e-05/0.007811, allocations: 43.97 kB / 0.9877 GB, free: 12.33 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.074e-05/0.007902, allocations: 117.9 kB / 0.9878 GB, free: 12.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.00801, allocations: 88.8 kB / 0.9879 GB, free: 12.11 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.008012, allocations: 0 / 0.9879 GB, free: 12.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001502/0.008162, allocations: 129.5 kB / 0.988 GB, free: 11.97 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.008177, allocations: 7.938 kB / 0.988 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.008182, allocations: 4.031 kB / 0.988 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.008195, allocations: 0 / 0.988 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.291e-05/0.008238, allocations: 11.98 kB / 0.988 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.008244, allocations: 0 / 0.988 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.799e-05/0.008292, allocations: 15.92 kB / 0.988 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.008298, allocations: 0 / 0.988 GB, free: 11.93 MB / 0.948 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 7.308e-05/0.008371, allocations: 129.8 kB / 0.9881 GB, free: 11.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.357e-06/0.00838, allocations: 11.91 kB / 0.9881 GB, free: 11.79 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001802/0.008561, allocations: 146.5 kB / 0.9883 GB, free: 11.63 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.008562, allocations: 4 kB / 0.9883 GB, free: 11.62 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.008567, allocations: 0 / 0.9883 GB, free: 11.62 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.008569, allocations: 0 / 0.9883 GB, free: 11.62 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.008669, allocations: 153.3 kB / 0.9884 GB, free: 11.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.008671, allocations: 0 / 0.9884 GB, free: 11.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.938e-05/0.0087, allocations: 11.98 kB / 0.9884 GB, free: 11.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.008702, allocations: 0 / 0.9884 GB, free: 11.43 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.008708, allocations: 4 kB / 0.9885 GB, free: 11.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.008711, allocations: 7.938 kB / 0.9885 GB, free: 11.42 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.008712, allocations: 4 kB / 0.9885 GB, free: 11.42 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.008859, allocations: 149 kB / 0.9886 GB, free: 11.25 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.283e-05/0.008882, allocations: 19.89 kB / 0.9886 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.008895, allocations: 0 / 0.9886 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.703e-05/0.008922, allocations: 7.938 kB / 0.9886 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.00896, allocations: 11.92 kB / 0.9886 GB, free: 11.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.008963, allocations: 0 / 0.9886 GB, free: 11.21 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001409/0.009104, allocations: 228.6 kB / 0.9889 GB, free: 10.99 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.009104, allocations: 4 kB / 0.9889 GB, free: 10.99 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001891/0.009293, allocations: 71.81 kB / 0.9889 GB, free: 10.92 MB / 0.948 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.0002077/0.009501, allocations: 167.6 kB / 0.9891 GB, free: 10.75 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001634/0.009664, allocations: 88.16 kB / 0.9892 GB, free: 10.66 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.009666, allocations: 0 / 0.9892 GB, free: 10.66 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.134e-05/0.009717, allocations: 39.97 kB / 0.9892 GB, free: 10.62 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.00988, allocations: 20.86 kB / 0.9892 GB, free: 10.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.01027, allocations: 311.4 kB / 0.9895 GB, free: 10.26 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.909e-05/0.01033, allocations: 97.77 kB / 0.9896 GB, free: 10.14 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.01036, allocations: 20.42 kB / 0.9896 GB, free: 10.12 MB / 0.948 GB Notification: Performance of SimCode: time 5.01e-07/0.01036, allocations: 0 / 0.9896 GB, free: 10.12 MB / 0.948 GB Notification: Performance of Templates: time 0.003244/0.01361, allocations: 2.236 MB / 0.9918 GB, free: 7.898 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & ./Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.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.0790779227390885]