Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CpAct",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CpAct",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 196.7 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.946/2.946, allocations: 472.7 MB / 0.7452 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001303, allocations: 67.53 kB / 0.9121 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3599, allocations: 159.9 MB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.003009/0.3629, allocations: 1.439 MB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.3646, allocations: 0.8921 MB / 1.071 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.556e-05/0.3646, allocations: 0 / 1.071 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001535/0.3648, allocations: 11.92 kB / 1.071 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005867/0.3654, allocations: 135.6 kB / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.3656, allocations: 99.75 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.3657, allocations: 63.77 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.815e-05/0.3658, allocations: 7.984 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.481e-05/0.3659, allocations: 35.86 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.366, allocations: 39.88 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.366, allocations: 8 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003725/0.3664, allocations: 239.6 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.482e-05/0.3665, allocations: 51.88 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.246e-05/0.3666, allocations: 51.61 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003509/0.367, allocations: 251.6 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.367, allocations: 0 / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.924e-06/0.367, allocations: 0 / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.367, allocations: 0 / 1.071 GB, free: 7.012 MB / 0.8262 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.0006334/0.3676, allocations: 470.5 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3677, allocations: 12.03 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.3677, allocations: 16.75 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.368, allocations: 267.8 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.368, allocations: 384 / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.3681, allocations: 12.06 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.3682, allocations: 69.66 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.3682, allocations: 0 / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.3683, allocations: 0 / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.3683, allocations: 4 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002105/0.3685, allocations: 83.92 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002528/0.3688, allocations: 225.7 kB / 1.073 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/0.369, allocations: 118.4 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.3692, allocations: 52.83 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.794e-05/0.3692, allocations: 23.92 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.3692, allocations: 30.56 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.3692, allocations: 0 / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0004236/0.3697, allocations: 169.3 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.3697, allocations: 51.41 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/0.37, allocations: 299.1 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.3701, allocations: 33.7 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.358e-05/0.3701, allocations: 116.1 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.3702, allocations: 7.844 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.3702, allocations: 17.72 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3704, allocations: 334.8 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.3705, allocations: 35.97 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.3706, allocations: 62.55 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.3708, allocations: 84.8 kB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.3708, allocations: 4 kB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002573/0.3711, allocations: 133.7 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3711, allocations: 8 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.3711, allocations: 3.984 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3711, allocations: 4.031 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.057e-05/0.3712, allocations: 15.92 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3712, allocations: 3.984 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.079e-05/0.3713, allocations: 7.984 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.3713, allocations: 0 / 1.074 GB, free: 4.055 MB / 0.8262 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 0.0001072/0.3714, allocations: 135.3 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.3715, allocations: 19.75 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.3718, allocations: 130.6 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3718, allocations: 0 / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3718, allocations: 3.984 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.3718, allocations: 0 / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.372, allocations: 217.6 kB / 1.075 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.372, allocations: 0 / 1.075 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.403e-05/0.3721, allocations: 15.92 kB / 1.075 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3721, allocations: 0 / 1.075 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.3721, allocations: 0 / 1.075 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3721, allocations: 4 kB / 1.075 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.3721, allocations: 0 / 1.075 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.3724, allocations: 156.8 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.596e-05/0.3724, allocations: 96.91 kB / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.3725, allocations: 0 / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.233e-05/0.3725, allocations: 4 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.3726, allocations: 15.98 kB / 1.075 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.3726, allocations: 0 / 1.075 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001862/0.3728, allocations: 215.2 kB / 1.075 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3728, allocations: 3.938 kB / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000302/0.3731, allocations: 71.98 kB / 1.075 GB, free: 2.887 MB / 0.8262 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.0003082/0.3734, allocations: 155.7 kB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002629/0.3737, allocations: 91.88 kB / 1.075 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3737, allocations: 0 / 1.075 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.3738, allocations: 43.97 kB / 1.075 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.3741, allocations: 17.84 kB / 1.075 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005319/0.3746, allocations: 312.5 kB / 1.076 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.375, allocations: 0.7274 MB / 1.076 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.235e-05/0.375, allocations: 12.55 kB / 1.076 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.3751, allocations: 15.44 kB / 1.076 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3751, allocations: 0 / 1.076 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of Templates: time 0.005191/0.3803, allocations: 2.135 MB / 1.079 GB, free: 15.33 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches