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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00167/0.00167, allocations: 105.4 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002043/0.002043, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.459/1.459, allocations: 222.9 MB / 240.6 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.727/2.727, allocations: 469.4 MB / 0.7423 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 60.28 kB / 0.9083 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3597, allocations: 159.1 MB / 1.064 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.003799/0.3635, allocations: 1.506 MB / 1.065 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00197/0.3655, allocations: 0.8845 MB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.903e-05/0.3657, allocations: 4 kB / 1.066 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002067/0.3659, allocations: 7.984 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0006818/0.3666, allocations: 135.4 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.3669, allocations: 87.84 kB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000139/0.3671, allocations: 67.75 kB / 1.066 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.622e-05/0.3671, allocations: 8 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.3672, allocations: 39.83 kB / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.3674, allocations: 43.91 kB / 1.066 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.3674, allocations: 4 kB / 1.066 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004202/0.3678, allocations: 227.7 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.767e-05/0.3679, allocations: 47.89 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.761e-05/0.368, allocations: 51.61 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003766/0.3684, allocations: 187.8 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3684, allocations: 3.984 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.485e-06/0.3684, allocations: 0 / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.3684, allocations: 0 / 1.067 GB, free: 12.05 MB / 0.8419 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.0008306/0.3693, allocations: 470.6 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.3693, allocations: 8.031 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.996e-05/0.3694, allocations: 16.75 kB / 1.067 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.3697, allocations: 271.9 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.3697, allocations: 4.375 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.3698, allocations: 16.11 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.37, allocations: 65.67 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.37, allocations: 0 / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.37, allocations: 0 / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.37, allocations: 4 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.3702, allocations: 83.86 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.3705, allocations: 229.6 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.3708, allocations: 118.5 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.3709, allocations: 52.83 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.293e-05/0.371, allocations: 15.98 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.371, allocations: 30.56 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.371, allocations: 0 / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0004196/0.3714, allocations: 169.4 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.3715, allocations: 55.34 kB / 1.068 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.3718, allocations: 291.1 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.3718, allocations: 33.7 kB / 1.069 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.3719, allocations: 116.1 kB / 1.069 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.372, allocations: 11.75 kB / 1.069 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.372, allocations: 21.72 kB / 1.069 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.3722, allocations: 326.8 kB / 1.069 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.3723, allocations: 39.97 kB / 1.069 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.3725, allocations: 58.55 kB / 1.069 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.3727, allocations: 92.81 kB / 1.069 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3727, allocations: 0 / 1.069 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002526/0.3729, allocations: 129.3 kB / 1.07 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.373, allocations: 8 kB / 1.07 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.373, allocations: 0 / 1.07 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.373, allocations: 0 / 1.07 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.749e-05/0.3731, allocations: 15.98 kB / 1.07 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.3731, allocations: 0 / 1.07 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.705e-05/0.3732, allocations: 14.66 kB / 1.07 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.3732, allocations: 3.938 kB / 1.07 GB, free: 9.105 MB / 0.8419 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.0001031/0.3733, allocations: 129.8 kB / 1.07 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.3733, allocations: 19.75 kB / 1.07 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.3736, allocations: 138.9 kB / 1.07 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3736, allocations: 3.938 kB / 1.07 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3737, allocations: 0 / 1.07 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3737, allocations: 4 kB / 1.07 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.3739, allocations: 217.6 kB / 1.07 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3739, allocations: 0 / 1.07 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.416e-05/0.374, allocations: 11.98 kB / 1.07 GB, free: 8.523 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.374, allocations: 3.938 kB / 1.07 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.374, allocations: 0 / 1.07 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.374, allocations: 0 / 1.07 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.374, allocations: 0 / 1.07 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.3743, allocations: 156.8 kB / 1.07 GB, free: 8.348 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.189e-05/0.3744, allocations: 93 kB / 1.07 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.3744, allocations: 4 kB / 1.07 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.85e-05/0.3745, allocations: 4 kB / 1.07 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.3745, allocations: 7.984 kB / 1.07 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.3745, allocations: 0 / 1.07 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002635/0.3748, allocations: 223.1 kB / 1.071 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.91e-07/0.3748, allocations: 0 / 1.071 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003297/0.3752, allocations: 75.98 kB / 1.071 GB, free: 7.93 MB / 0.8419 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.0003144/0.3755, allocations: 159.2 kB / 1.071 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002699/0.3758, allocations: 79.94 kB / 1.071 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3758, allocations: 0 / 1.071 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.3759, allocations: 47.95 kB / 1.071 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.3762, allocations: 16.61 kB / 1.071 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007037/0.3769, allocations: 328.7 kB / 1.071 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005488/0.3775, allocations: 0.7158 MB / 1.072 GB, free: 6.523 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.242e-05/0.3775, allocations: 11.44 kB / 1.072 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of SimCode: time 7.82e-07/0.3775, allocations: 0 / 1.072 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of Templates: time 0.005717/0.3832, allocations: 2.16 MB / 1.074 GB, free: 4.367 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/jenkins1/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