Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001686/0.001686, allocations: 113.5 kB / 16.41 MB, free: 6.445 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.001624/0.001625, allocations: 187 kB / 17.34 MB, free: 5.742 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.504/1.504, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.357/2.357, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 59.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.974/0.9755, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.00257/0.9781, allocations: 1.445 MB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.9796, allocations: 0.8903 MB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.702e-05/0.9797, allocations: 1.25 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.9798, allocations: 8.781 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006055/0.9805, allocations: 138.5 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.9807, allocations: 106.1 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.9809, allocations: 64.22 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.073e-05/0.9809, allocations: 3.672 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.981, allocations: 39.2 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.9812, allocations: 39.78 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.9812, allocations: 3.812 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000433/0.9816, allocations: 235.8 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.932e-05/0.9817, allocations: 55.5 kB / 1.092 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.585e-05/0.9818, allocations: 51.69 kB / 1.092 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000426/0.9822, allocations: 256.4 kB / 1.092 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.9822, allocations: 0 / 1.092 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.775e-06/0.9823, allocations: 1.125 kB / 1.092 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.9823, allocations: 0 / 1.092 GB, free: 3.594 MB / 0.8575 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.0005952/0.9829, allocations: 473.4 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.9829, allocations: 14.09 kB / 1.092 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.337e-05/0.983, allocations: 15.47 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.9833, allocations: 275.1 kB / 1.093 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.9833, allocations: 1.469 kB / 1.093 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.9833, allocations: 5.969 kB / 1.093 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.9835, allocations: 70.62 kB / 1.093 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.9835, allocations: 5.031 kB / 1.093 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.9835, allocations: 0 / 1.093 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.9835, allocations: 1.891 kB / 1.093 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002352/0.9838, allocations: 81.69 kB / 1.093 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002521/0.984, allocations: 229.1 kB / 1.093 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.9843, allocations: 116.9 kB / 1.093 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.9845, allocations: 46.8 kB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.505e-05/0.9845, allocations: 19.33 kB / 1.093 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.9845, allocations: 36.45 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.9846, allocations: 0 / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004649/0.985, allocations: 164.9 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.9851, allocations: 52.19 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003456/0.9854, allocations: 300.6 kB / 1.094 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.9854, allocations: 30.92 kB / 1.094 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/0.9855, allocations: 115 kB / 1.094 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.9855, allocations: 11.34 kB / 1.094 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.9856, allocations: 17.81 kB / 1.094 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.614e-05/0.9856, allocations: 328.3 kB / 1.094 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.9858, allocations: 37.64 kB / 1.094 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.9859, allocations: 64.3 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.9861, allocations: 88.89 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9861, allocations: 0.8125 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002908/0.9864, allocations: 131.8 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.9865, allocations: 5.516 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.9865, allocations: 0.875 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.9865, allocations: 4.031 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.554e-05/0.9866, allocations: 11.03 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.9866, allocations: 0.75 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.989e-05/0.9867, allocations: 12.33 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.9867, allocations: 1.5 kB / 1.094 GB, free: 1.703 MB / 0.8575 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 9.338e-05/0.9868, allocations: 139.7 kB / 1.095 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.9868, allocations: 13.69 kB / 1.095 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003201/0.9871, allocations: 146.2 kB / 1.095 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.9872, allocations: 0.8438 kB / 1.095 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.9872, allocations: 0.7969 kB / 1.095 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.9872, allocations: 0.8438 kB / 1.095 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.9874, allocations: 222 kB / 1.095 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.9874, allocations: 4.594 kB / 1.095 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.817e-05/0.9874, allocations: 10 kB / 1.095 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.9874, allocations: 0.5938 kB / 1.095 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.9875, allocations: 1.516 kB / 1.095 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.9875, allocations: 4.594 kB / 1.095 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.9875, allocations: 0.5938 kB / 1.095 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.9878, allocations: 157.5 kB / 1.095 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/0.9878, allocations: 93.17 kB / 1.095 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.9879, allocations: 1 kB / 1.095 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.457e-05/0.9879, allocations: 9.875 kB / 1.095 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.988, allocations: 7.078 kB / 1.095 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-06/0.988, allocations: 1.438 kB / 1.095 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002376/0.9882, allocations: 224.2 kB / 1.095 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9882, allocations: 0 / 1.095 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003869/0.9886, allocations: 64.98 kB / 1.096 GB, free: 0.9805 MB / 0.8575 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.000304/0.9889, allocations: 160 kB / 1.096 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003079/0.9892, allocations: 91.92 kB / 1.096 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.9893, allocations: 0 / 1.096 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.9894, allocations: 45.89 kB / 1.096 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.9897, allocations: 12.81 kB / 1.096 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000539/0.9902, allocations: 313.2 kB / 1.096 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.9905, allocations: 0.7168 MB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.9905, allocations: 14.83 kB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.9905, allocations: 0 / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of Templates: time 0.005206/0.9957, allocations: 2.155 MB / 1.099 GB, free: 15.77 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & ./Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches