Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00778/0.00778, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001673/0.001673, allocations: 198 kB / 16.68 MB, free: 5.969 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.58/2.58, allocations: 437 MB / 0.7105 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.91 kB / 1.019 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2919, allocations: 151.6 MB / 1.167 GB, free: 6.836 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.002359/0.2943, allocations: 1.243 MB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.2956, allocations: 0.7063 MB / 1.169 GB, free: 4.867 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.2e-05/0.2957, allocations: 4 kB / 1.169 GB, free: 4.863 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.843e-05/0.2957, allocations: 0 / 1.169 GB, free: 4.863 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.2959, allocations: 7.938 kB / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.2962, allocations: 87.69 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.716e-05/0.2963, allocations: 4 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.615e-05/0.2963, allocations: 8 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.507e-05/0.2964, allocations: 15.91 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.975e-05/0.2965, allocations: 4 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.2965, allocations: 0 / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002934/0.2968, allocations: 131.8 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.019e-05/0.2968, allocations: 0 / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.318e-05/0.2968, allocations: 7.938 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.297, allocations: 79.8 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.297, allocations: 0 / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.714e-06/0.297, allocations: 0 / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2971, allocations: 0 / 1.169 GB, free: 4.523 MB / 0.92 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.0004423/0.2975, allocations: 339.3 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.2976, allocations: 12.03 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.2976, allocations: 0.9375 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.2978, allocations: 164.3 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.2978, allocations: 384 / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.2978, allocations: 3.938 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.2979, allocations: 37.69 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2979, allocations: 0 / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.2979, allocations: 4 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.2979, allocations: 4 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.452e-05/0.298, allocations: 0 / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001895/0.2982, allocations: 153.7 kB / 1.17 GB, free: 3.68 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.603e-05/0.2982, allocations: 26.48 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.468e-05/0.2983, allocations: 8.922 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004693/0.2988, allocations: 425.4 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.2988, allocations: 30.56 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.2988, allocations: 0 / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001362/0.2989, allocations: 37.7 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.299, allocations: 59.33 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.915e-05/0.299, allocations: 97.8 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.2991, allocations: 29.95 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/0.2991, allocations: 84.14 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.2991, allocations: 7.891 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.2992, allocations: 17.72 kB / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.2993, allocations: 314.8 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.128e-05/0.2993, allocations: 0 / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.011e-05/0.2993, allocations: 4 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.732e-05/0.2993, allocations: 12.86 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2993, allocations: 4.062 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.883e-05/0.2994, allocations: 41.59 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.2994, allocations: 8 kB / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.2994, allocations: 3.938 kB / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.2995, allocations: 0 / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.84e-05/0.2995, allocations: 3.984 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2995, allocations: 4 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.382e-05/0.2995, allocations: 0 / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.2995, allocations: 0 / 1.171 GB, free: 2.309 MB / 0.92 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 6.279e-05/0.2996, allocations: 117.8 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-06/0.2996, allocations: 4 kB / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.974e-05/0.2997, allocations: 48.8 kB / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2997, allocations: 0 / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2997, allocations: 0 / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.2997, allocations: 0 / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.989e-05/0.2998, allocations: 153.6 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2999, allocations: 0 / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.153e-05/0.2999, allocations: 7.938 kB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2999, allocations: 4.031 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.2999, allocations: 4 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2999, allocations: 0 / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2999, allocations: 0 / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.993e-05/0.3, allocations: 69 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.323e-05/0.3, allocations: 85.11 kB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.3001, allocations: 0 / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.17e-05/0.3001, allocations: 0 / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.339e-05/0.3001, allocations: 4.031 kB / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.3001, allocations: 0 / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.064e-05/0.3001, allocations: 79.28 kB / 1.171 GB, free: 1.641 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3001, allocations: 0 / 1.171 GB, free: 1.641 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002132/0.3004, allocations: 23.92 kB / 1.171 GB, free: 1.617 MB / 0.92 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.0001981/0.3006, allocations: 127.1 kB / 1.171 GB, free: 1.48 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.534e-05/0.3006, allocations: 19.92 kB / 1.171 GB, free: 1.461 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3006, allocations: 8.094 kB / 1.171 GB, free: 1.453 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.218e-05/0.3007, allocations: 4 kB / 1.171 GB, free: 1.449 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.3008, allocations: 3.938 kB / 1.171 GB, free: 1.445 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002651/0.3011, allocations: 89.48 kB / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.3014, allocations: 0.6768 MB / 1.172 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.051e-05/0.3014, allocations: 0 / 1.172 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.584e-05/0.3014, allocations: 11.44 kB / 1.172 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of SimCode: time 6.22e-07/0.3014, allocations: 0 / 1.172 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of Templates: time 0.0028/0.3042, allocations: 0.7128 MB / 1.173 GB, free: 15.91 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.sim & ./Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches