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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001346/0.001346, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001753/0.001753, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.595/1.595, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.453/2.453, allocations: 390.9 MB / 0.666 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003458, allocations: 8 kB / 0.8154 GB, free: 13.53 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8647/0.865, allocations: 142.4 MB / 0.9544 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.001646/0.8667, allocations: 1.157 MB / 0.9556 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.8682, allocations: 0.8283 MB / 0.9564 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.9e-05/0.8682, allocations: 4 kB / 0.9564 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001662/0.8684, allocations: 10.17 kB / 0.9564 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005125/0.8689, allocations: 111.8 kB / 0.9565 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.8691, allocations: 84.31 kB / 0.9566 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.8693, allocations: 66.61 kB / 0.9566 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.042e-05/0.8693, allocations: 6.844 kB / 0.9566 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.732e-05/0.8694, allocations: 41.16 kB / 0.9567 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.8696, allocations: 47.7 kB / 0.9567 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.8696, allocations: 3.844 kB / 0.9567 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004004/0.87, allocations: 212 kB / 0.9569 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.388e-05/0.8701, allocations: 54.81 kB / 0.957 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.717e-05/0.8702, allocations: 41.58 kB / 0.957 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.8704, allocations: 178.5 kB / 0.9572 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.8704, allocations: 0 / 0.9572 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.314e-06/0.8704, allocations: 0 / 0.9572 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.8704, allocations: 0 / 0.9572 GB, free: 5.66 MB / 0.7169 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.0006015/0.871, allocations: 462.6 kB / 0.9576 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.8711, allocations: 8.844 kB / 0.9576 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/0.8711, allocations: 19.36 kB / 0.9577 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.8714, allocations: 263.4 kB / 0.9579 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.8715, allocations: 1.812 kB / 0.9579 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.8715, allocations: 5.844 kB / 0.9579 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.8717, allocations: 71.72 kB / 0.958 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.8717, allocations: 1.219 kB / 0.958 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.8717, allocations: 0 / 0.958 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.8717, allocations: 0 / 0.958 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.8719, allocations: 99.55 kB / 0.9581 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002475/0.8722, allocations: 233.7 kB / 0.9583 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.8725, allocations: 125 kB / 0.9584 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.8726, allocations: 47.2 kB / 0.9585 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.01e-05/0.8726, allocations: 18.97 kB / 0.9585 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.8727, allocations: 35.94 kB / 0.9585 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.913e-06/0.8727, allocations: 0 / 0.9585 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004372/0.8731, allocations: 188 kB / 0.9587 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.8732, allocations: 52.81 kB / 0.9588 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.8734, allocations: 293.6 kB / 0.959 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.8735, allocations: 26.67 kB / 0.9591 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.846e-05/0.8735, allocations: 116.5 kB / 0.9592 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.8736, allocations: 12.59 kB / 0.9592 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.8736, allocations: 0.8438 kB / 0.9592 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.724e-05/0.8737, allocations: 331.4 kB / 0.9595 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.8738, allocations: 45.78 kB / 0.9595 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.8739, allocations: 67.83 kB / 0.9596 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.8741, allocations: 53.39 kB / 0.9597 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.8741, allocations: 1.375 kB / 0.9597 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002435/0.8743, allocations: 139.7 kB / 0.9598 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.8743, allocations: 4.125 kB / 0.9598 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.8744, allocations: 1.375 kB / 0.9598 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.8744, allocations: 0 / 0.9598 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.786e-05/0.8744, allocations: 13.61 kB / 0.9598 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.8745, allocations: 5.375 kB / 0.9598 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.81e-05/0.8746, allocations: 10.86 kB / 0.9598 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.8746, allocations: 1.375 kB / 0.9598 GB, free: 3.578 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.452e-05/0.8747, allocations: 136.9 kB / 0.96 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/0.8747, allocations: 17.3 kB / 0.96 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002898/0.875, allocations: 145.8 kB / 0.9601 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.875, allocations: 3.984 kB / 0.9601 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.875, allocations: 0 / 0.9601 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.875, allocations: 0.9062 kB / 0.9601 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.8752, allocations: 216 kB / 0.9603 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.8752, allocations: 0 / 0.9603 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.521e-05/0.8752, allocations: 17.86 kB / 0.9603 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.8752, allocations: 1.094 kB / 0.9603 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.8753, allocations: 0 / 0.9603 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.8753, allocations: 1 kB / 0.9603 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.8753, allocations: 4 kB / 0.9603 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.8755, allocations: 171.8 kB / 0.9605 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.534e-05/0.8756, allocations: 94.41 kB / 0.9606 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.8756, allocations: 1.031 kB / 0.9606 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.813e-05/0.8757, allocations: 9.844 kB / 0.9606 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/0.8758, allocations: 9.859 kB / 0.9606 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.8758, allocations: 0.9688 kB / 0.9606 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002199/0.876, allocations: 228.9 kB / 0.9608 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.876, allocations: 0.9062 kB / 0.9608 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003277/0.8763, allocations: 74.02 kB / 0.9609 GB, free: 2.742 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002856/0.8766, allocations: 159 kB / 0.9611 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003076/0.8769, allocations: 95.22 kB / 0.9612 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.877, allocations: 0 / 0.9612 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.8771, allocations: 57.05 kB / 0.9612 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.8774, allocations: 12.34 kB / 0.9612 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000615/0.878, allocations: 339.2 kB / 0.9615 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.8783, allocations: 0.7283 MB / 0.9623 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.526e-05/0.8783, allocations: 14.33 kB / 0.9623 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.8784, allocations: 13.72 kB / 0.9623 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.8784, allocations: 0 / 0.9623 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of Templates: time 0.006873/0.8853, allocations: 1.983 MB / 0.9642 GB, free: 0.6055 MB / 0.7169 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/jenkins/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