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.001164/0.001164, allocations: 89.81 kB / 15.36 MB, free: 0.7383 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.008948/0.008949, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.348/1.348, allocations: 223.2 MB / 240.3 MB, free: 5.34 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.341/2.341, allocations: 390.9 MB / 0.6663 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003622, allocations: 8 kB / 0.8159 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6492/0.6496, allocations: 142.4 MB / 0.955 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.001741/0.6514, allocations: 1.165 MB / 0.9562 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.6529, allocations: 0.9066 MB / 0.9571 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.793e-05/0.653, allocations: 0 / 0.9571 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.6531, allocations: 10.95 kB / 0.9571 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005235/0.6537, allocations: 105 kB / 0.9572 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.6539, allocations: 76.83 kB / 0.9572 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.654, allocations: 79.72 kB / 0.9573 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.545e-05/0.6541, allocations: 2.562 kB / 0.9573 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.6542, allocations: 44.67 kB / 0.9574 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.6543, allocations: 46.34 kB / 0.9574 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.6544, allocations: 7.344 kB / 0.9574 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003653/0.6548, allocations: 219.8 kB / 0.9576 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.002e-05/0.6549, allocations: 52.56 kB / 0.9577 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.441e-05/0.6549, allocations: 73.8 kB / 0.9577 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00038/0.6553, allocations: 251.3 kB / 0.958 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6553, allocations: 0 / 0.958 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.253e-06/0.6553, allocations: 0 / 0.958 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.6553, allocations: 1.406 kB / 0.958 GB, free: 5.621 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.0005788/0.6559, allocations: 466.1 kB / 0.9584 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.656, allocations: 13.03 kB / 0.9584 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.128e-05/0.656, allocations: 16.47 kB / 0.9585 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.6563, allocations: 272.5 kB / 0.9587 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.6563, allocations: 1.75 kB / 0.9587 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.6563, allocations: 5.5 kB / 0.9587 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.6565, allocations: 81.34 kB / 0.9588 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.6566, allocations: 0 / 0.9588 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.6566, allocations: 3.984 kB / 0.9588 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.6566, allocations: 1.375 kB / 0.9588 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000221/0.6568, allocations: 91.31 kB / 0.9589 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002488/0.6571, allocations: 233.8 kB / 0.9591 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/0.6573, allocations: 121 kB / 0.9592 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.6575, allocations: 59.08 kB / 0.9593 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.511e-05/0.6575, allocations: 18.97 kB / 0.9593 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.471e-05/0.6575, allocations: 31.94 kB / 0.9593 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 2.144e-06/0.6576, allocations: 4 kB / 0.9593 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000432/0.658, allocations: 180.3 kB / 0.9595 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.658, allocations: 52.59 kB / 0.9596 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.6583, allocations: 295.2 kB / 0.9598 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.6583, allocations: 30.83 kB / 0.9599 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.292e-05/0.6584, allocations: 120.3 kB / 0.96 GB, free: 4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.6584, allocations: 4.781 kB / 0.96 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/0.6584, allocations: 14.7 kB / 0.96 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.967e-05/0.6585, allocations: 328.1 kB / 0.9603 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.6586, allocations: 48.81 kB / 0.9604 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.6587, allocations: 67.75 kB / 0.9604 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.659, allocations: 101 kB / 0.9605 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.659, allocations: 1.125 kB / 0.9605 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002764/0.6593, allocations: 135.5 kB / 0.9607 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.6593, allocations: 8.719 kB / 0.9607 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.6593, allocations: 3.984 kB / 0.9607 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.6593, allocations: 5.156 kB / 0.9607 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.372e-05/0.6594, allocations: 13.34 kB / 0.9607 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.6594, allocations: 1.312 kB / 0.9607 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.6595, allocations: 11.39 kB / 0.9607 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.6595, allocations: 0.9688 kB / 0.9607 GB, free: 3.48 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 7.741e-05/0.6596, allocations: 132.2 kB / 0.9608 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.6596, allocations: 22.19 kB / 0.9609 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003129/0.66, allocations: 145.1 kB / 0.961 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.66, allocations: 0.9375 kB / 0.961 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.66, allocations: 3.938 kB / 0.961 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.66, allocations: 1 kB / 0.961 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.6601, allocations: 219 kB / 0.9612 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.6601, allocations: 5.297 kB / 0.9612 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.49e-05/0.6602, allocations: 9.219 kB / 0.9612 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.6602, allocations: 4.938 kB / 0.9612 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.6602, allocations: 0 / 0.9612 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.6602, allocations: 0.9688 kB / 0.9612 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6602, allocations: 0 / 0.9612 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.6605, allocations: 168.2 kB / 0.9614 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-05/0.6606, allocations: 94.91 kB / 0.9615 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.6606, allocations: 4.969 kB / 0.9615 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.6607, allocations: 9.828 kB / 0.9615 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.6607, allocations: 6.75 kB / 0.9615 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.6607, allocations: 0 / 0.9615 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001876/0.6609, allocations: 231.2 kB / 0.9617 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6609, allocations: 0 / 0.9617 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003455/0.6613, allocations: 69.12 kB / 0.9618 GB, free: 2.652 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.0002911/0.6616, allocations: 155.7 kB / 0.9619 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002969/0.6619, allocations: 103.6 kB / 0.962 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6619, allocations: 7.938 kB / 0.962 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.662, allocations: 44.81 kB / 0.9621 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.6623, allocations: 17.5 kB / 0.9621 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005343/0.6628, allocations: 351.1 kB / 0.9624 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/0.663, allocations: 0.7243 MB / 0.9631 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.825e-05/0.6631, allocations: 18.59 kB / 0.9632 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.12e-05/0.6631, allocations: 13.53 kB / 0.9632 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of SimCode: time 1.012e-06/0.6631, allocations: 0 / 0.9632 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of Templates: time 0.005388/0.6685, allocations: 2.002 MB / 0.9651 GB, free: 500 kB / 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