Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.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.WindPressureLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Cp",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Cp",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008208/0.008208, allocations: 107.9 kB / 15.74 MB, free: 5.578 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.00186/0.00186, allocations: 189.5 kB / 16.67 MB, free: 5.516 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.37/1.37, allocations: 222.9 MB / 240.4 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.264/2.264, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 67.89 kB / 0.9508 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.803/0.8044, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.002039/0.8065, allocations: 1.228 MB / 1.089 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.8075, allocations: 0.7053 MB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.31e-05/0.8076, allocations: 0 / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.863e-05/0.8076, allocations: 0 / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.8077, allocations: 5.766 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.808, allocations: 93.78 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.281e-05/0.808, allocations: 10.09 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.554e-05/0.8081, allocations: 5.547 kB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.59e-05/0.8081, allocations: 5.516 kB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4e-05/0.8082, allocations: 10.66 kB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.865e-06/0.8082, allocations: 0 / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002684/0.8085, allocations: 135.2 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.166e-06/0.8085, allocations: 5.25 kB / 1.09 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.278e-05/0.8085, allocations: 6.484 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.8087, allocations: 80.36 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.8087, allocations: 0 / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.244e-06/0.8087, allocations: 0.5156 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.8087, allocations: 5 kB / 1.09 GB, free: 4.059 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002597/0.809, allocations: 327.3 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.809, allocations: 9.312 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.595e-05/0.8091, allocations: 2.828 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.275e-05/0.8091, allocations: 174.3 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.8091, allocations: 0.8906 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.8092, allocations: 5.25 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.069e-05/0.8092, allocations: 29.89 kB / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.8093, allocations: 0 / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.8093, allocations: 1.312 kB / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.8093, allocations: 0.75 kB / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.672e-05/0.8093, allocations: 3.328 kB / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.841e-05/0.8094, allocations: 155.8 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.094e-05/0.8095, allocations: 36.06 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.665e-05/0.8095, allocations: 7.781 kB / 1.091 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000331/0.8098, allocations: 412.6 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.438e-05/0.8098, allocations: 32.36 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.8098, allocations: 0 / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001284/0.81, allocations: 48.86 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.72e-05/0.81, allocations: 56 kB / 1.091 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.508e-05/0.81, allocations: 94.03 kB / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.851e-06/0.8101, allocations: 25.7 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.446e-05/0.8101, allocations: 85.72 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.8101, allocations: 5.484 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/0.8101, allocations: 12.8 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.33e-05/0.8102, allocations: 317.2 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.183e-05/0.8102, allocations: 1.312 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.076e-05/0.8102, allocations: 7.156 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.698e-05/0.8102, allocations: 10.03 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.8103, allocations: 0.8438 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.567e-05/0.8103, allocations: 47.42 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.8103, allocations: 5.922 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.8103, allocations: 0 / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.8104, allocations: 5.469 kB / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.677e-05/0.8104, allocations: 3.516 kB / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.8104, allocations: 4.609 kB / 1.092 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.407e-05/0.8104, allocations: 1.062 kB / 1.092 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.8105, allocations: 4.594 kB / 1.092 GB, free: 1.988 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 (2): * Single equations (assignments): 2 * 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 4.02e-05/0.8105, allocations: 115.5 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-06/0.8105, allocations: 2.203 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.9e-05/0.8106, allocations: 42.66 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.8106, allocations: 5.641 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.8106, allocations: 0.7812 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.8106, allocations: 3.938 kB / 1.092 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.17e-05/0.8107, allocations: 157.4 kB / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.8107, allocations: 0 / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.124e-05/0.8107, allocations: 4.734 kB / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.8107, allocations: 0 / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.8107, allocations: 0.7031 kB / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.8107, allocations: 0.9688 kB / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.8107, allocations: 0 / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.257e-05/0.8108, allocations: 73.44 kB / 1.092 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.425e-05/0.8108, allocations: 77.89 kB / 1.092 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-06/0.8108, allocations: 1.641 kB / 1.092 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.328e-05/0.8109, allocations: 1.906 kB / 1.092 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.8109, allocations: 4.641 kB / 1.092 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.8109, allocations: 1.094 kB / 1.092 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.747e-05/0.8109, allocations: 78.31 kB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8109, allocations: 4.125 kB / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002404/0.8112, allocations: 24.89 kB / 1.093 GB, free: 1.363 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 (2): * Single equations (assignments): 2 * 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.0001691/0.8113, allocations: 134.6 kB / 1.093 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.774e-05/0.8114, allocations: 7.953 kB / 1.093 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.8114, allocations: 0 / 1.093 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.058e-05/0.8114, allocations: 5.078 kB / 1.093 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.8116, allocations: 8.969 kB / 1.093 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001741/0.8117, allocations: 98.97 kB / 1.093 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.8119, allocations: 0.6748 MB / 1.093 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.862e-05/0.8119, allocations: 5.312 kB / 1.093 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.208e-05/0.8119, allocations: 8.188 kB / 1.093 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.8119, allocations: 1.156 kB / 1.093 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of Templates: time 0.002849/0.8148, allocations: 0.7044 MB / 1.094 GB, free: 16.35 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.sim & ./Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches