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.001612/0.001612, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001768/0.001768, allocations: 195 kB / 16.14 MB, free: 6.648 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.35/1.35, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.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.376/2.376, allocations: 390.2 MB / 0.6642 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.001201, allocations: 63.91 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6264/0.6276, allocations: 140.4 MB / 0.9489 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.00235/0.63, allocations: 1.507 MB / 0.9504 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.6312, allocations: 0.9208 MB / 0.9513 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.516e-05/0.6313, allocations: 1.562 kB / 0.9513 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.6314, allocations: 9.609 kB / 0.9513 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000402/0.6319, allocations: 107.5 kB / 0.9514 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.632, allocations: 83.67 kB / 0.9515 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.641e-05/0.6321, allocations: 75.09 kB / 0.9516 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.168e-05/0.6322, allocations: 6.734 kB / 0.9516 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.864e-05/0.6323, allocations: 40.59 kB / 0.9516 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.6324, allocations: 53.75 kB / 0.9516 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.6324, allocations: 3.438 kB / 0.9517 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004037/0.6328, allocations: 213.5 kB / 0.9519 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.633, allocations: 52.16 kB / 0.9519 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.891e-05/0.633, allocations: 51.22 kB / 0.952 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003672/0.6334, allocations: 250.5 kB / 0.9522 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.6334, allocations: 5.281 kB / 0.9522 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6334, allocations: 4 kB / 0.9522 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.6334, allocations: 0 / 0.9522 GB, free: 6.773 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.0006632/0.6341, allocations: 474.2 kB / 0.9527 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.235e-05/0.6342, allocations: 9 kB / 0.9527 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.489e-05/0.6342, allocations: 11.25 kB / 0.9527 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.6346, allocations: 273.2 kB / 0.9529 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.6346, allocations: 1.719 kB / 0.9529 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.6346, allocations: 5.562 kB / 0.9529 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.6348, allocations: 75.88 kB / 0.953 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.6348, allocations: 5.156 kB / 0.953 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.6348, allocations: 0 / 0.953 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.6348, allocations: 1.25 kB / 0.953 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.6351, allocations: 76.22 kB / 0.9531 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.6353, allocations: 234.8 kB / 0.9533 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.6355, allocations: 120 kB / 0.9534 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.6356, allocations: 53.67 kB / 0.9535 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.761e-05/0.6357, allocations: 20.69 kB / 0.9535 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.231e-05/0.6357, allocations: 30.56 kB / 0.9535 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.6357, allocations: 0 / 0.9535 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004094/0.6361, allocations: 174.2 kB / 0.9537 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.6362, allocations: 53.31 kB / 0.9537 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.6364, allocations: 290.4 kB / 0.954 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.6364, allocations: 30.73 kB / 0.9541 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.859e-05/0.6365, allocations: 119.7 kB / 0.9542 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.6365, allocations: 5.344 kB / 0.9542 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.6366, allocations: 25.92 kB / 0.9542 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.636e-05/0.6366, allocations: 328.1 kB / 0.9545 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.6367, allocations: 40.44 kB / 0.9545 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.6369, allocations: 62.34 kB / 0.9546 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.6371, allocations: 83.23 kB / 0.9547 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6371, allocations: 5 kB / 0.9547 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002318/0.6373, allocations: 133.4 kB / 0.9548 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.6373, allocations: 4.625 kB / 0.9548 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.6373, allocations: 1.25 kB / 0.9548 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.6374, allocations: 0 / 0.9548 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.935e-05/0.6374, allocations: 11.41 kB / 0.9548 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.6374, allocations: 5.266 kB / 0.9548 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.084e-05/0.6375, allocations: 4.125 kB / 0.9548 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.6375, allocations: 5.281 kB / 0.9549 GB, free: 4.637 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.425e-05/0.6376, allocations: 129 kB / 0.955 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.082e-05/0.6377, allocations: 18.97 kB / 0.955 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.6379, allocations: 138.5 kB / 0.9551 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.6379, allocations: 1 kB / 0.9551 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.6379, allocations: 0 / 0.9551 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.638, allocations: 0 / 0.9551 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.6381, allocations: 223.8 kB / 0.9553 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.6381, allocations: 1.375 kB / 0.9553 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.223e-05/0.6382, allocations: 7.188 kB / 0.9553 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.6382, allocations: 0 / 0.9553 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.6382, allocations: 1.312 kB / 0.9553 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.6382, allocations: 3.984 kB / 0.9554 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.6382, allocations: 0 / 0.9554 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.6384, allocations: 159 kB / 0.9555 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.6385, allocations: 95.02 kB / 0.9556 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.6385, allocations: 0 / 0.9556 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.209e-05/0.6386, allocations: 16.38 kB / 0.9556 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.6386, allocations: 5.609 kB / 0.9556 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.6386, allocations: 1.406 kB / 0.9556 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001581/0.6388, allocations: 229.3 kB / 0.9558 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6388, allocations: 1.375 kB / 0.9558 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003234/0.6391, allocations: 68.88 kB / 0.9559 GB, free: 3.812 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 (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.0002547/0.6394, allocations: 167.5 kB / 0.9561 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002467/0.6396, allocations: 85.8 kB / 0.9561 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6396, allocations: 0 / 0.9561 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.981e-05/0.6397, allocations: 48.91 kB / 0.9562 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.64, allocations: 13.42 kB / 0.9562 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004533/0.6405, allocations: 339.8 kB / 0.9565 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.6406, allocations: 0.7243 MB / 0.9572 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.035e-05/0.6407, allocations: 14.48 kB / 0.9572 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/0.6407, allocations: 13.5 kB / 0.9573 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.6407, allocations: 4 kB / 0.9573 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of Templates: time 0.004688/0.6454, allocations: 2.036 MB / 0.9593 GB, free: 1.652 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