Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.00137/0.00137, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001298/0.001299, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.489/1.489, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.808/2.808, allocations: 482.4 MB / 0.7553 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 67.95 kB / 0.9245 GB, free: 4 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9293/0.9313, allocations: 162.2 MB / 1.083 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.003224/0.9346, allocations: 1.427 MB / 1.084 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.9362, allocations: 0.8968 MB / 1.085 GB, free: 308 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.087e-05/0.9363, allocations: 1.25 kB / 1.085 GB, free: 308 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001648/0.9365, allocations: 11.7 kB / 1.085 GB, free: 300 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000617/0.9371, allocations: 128.5 kB / 1.085 GB, free: 256 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.9374, allocations: 105.7 kB / 1.085 GB, free: 212 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.9375, allocations: 66.25 kB / 1.085 GB, free: 188 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.986e-05/0.9376, allocations: 6.75 kB / 1.085 GB, free: 184 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.9377, allocations: 38.59 kB / 1.086 GB, free: 168 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.9379, allocations: 44.61 kB / 1.086 GB, free: 152 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.9379, allocations: 3.625 kB / 1.086 GB, free: 152 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004736/0.9384, allocations: 230 kB / 1.086 GB, free: 88 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.9385, allocations: 50.8 kB / 1.086 GB, free: 76 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.066e-05/0.9386, allocations: 56.12 kB / 1.086 GB, free: 40 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005262/0.9392, allocations: 251.2 kB / 1.086 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.9392, allocations: 4 kB / 1.086 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.293e-06/0.9392, allocations: 0 / 1.086 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.9392, allocations: 0 / 1.086 GB, free: 15.96 MB / 0.8419 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.0007955/0.94, allocations: 464.8 kB / 1.087 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.9401, allocations: 13.22 kB / 1.087 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.9401, allocations: 16.31 kB / 1.087 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.9405, allocations: 278.1 kB / 1.087 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.9405, allocations: 1.688 kB / 1.087 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.9405, allocations: 5.656 kB / 1.087 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.9407, allocations: 72 kB / 1.087 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.9408, allocations: 0 / 1.087 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.9408, allocations: 5.062 kB / 1.087 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.9408, allocations: 0 / 1.087 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/0.941, allocations: 82.34 kB / 1.087 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/0.9414, allocations: 229.5 kB / 1.087 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.9417, allocations: 117 kB / 1.087 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.9418, allocations: 46.86 kB / 1.087 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.106e-05/0.9419, allocations: 21.02 kB / 1.087 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.9419, allocations: 34.56 kB / 1.087 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 3.256e-06/0.942, allocations: 3.938 kB / 1.087 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0005036/0.9425, allocations: 169.3 kB / 1.088 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.9425, allocations: 52.02 kB / 1.088 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003902/0.9429, allocations: 292.7 kB / 1.088 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.943, allocations: 31.14 kB / 1.088 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.564e-05/0.9431, allocations: 116.3 kB / 1.088 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.9431, allocations: 18.25 kB / 1.088 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.9432, allocations: 13.95 kB / 1.088 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.9434, allocations: 329 kB / 1.088 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.9435, allocations: 37.52 kB / 1.088 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.9437, allocations: 64.33 kB / 1.089 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.9439, allocations: 97.31 kB / 1.089 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.9439, allocations: 0 / 1.089 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003251/0.9443, allocations: 128.4 kB / 1.089 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.9443, allocations: 5.75 kB / 1.089 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.9443, allocations: 3.984 kB / 1.089 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.9443, allocations: 4.547 kB / 1.089 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.215e-05/0.9444, allocations: 11.55 kB / 1.089 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.9444, allocations: 0 / 1.089 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.787e-05/0.9445, allocations: 7.984 kB / 1.089 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.9446, allocations: 1.234 kB / 1.089 GB, free: 14.07 MB / 0.8419 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 0.0001444/0.9447, allocations: 134.7 kB / 1.089 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.9447, allocations: 17.28 kB / 1.089 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003526/0.9451, allocations: 145.1 kB / 1.089 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.9451, allocations: 1.531 kB / 1.089 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.9451, allocations: 0 / 1.089 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.9451, allocations: 0 / 1.089 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.9454, allocations: 215.5 kB / 1.089 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9454, allocations: 0 / 1.089 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.698e-05/0.9455, allocations: 10.06 kB / 1.089 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.9455, allocations: 1.312 kB / 1.089 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.9455, allocations: 0 / 1.089 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.9455, allocations: 5.312 kB / 1.089 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.9455, allocations: 0.75 kB / 1.089 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.9458, allocations: 157.3 kB / 1.089 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.473e-05/0.9459, allocations: 96.45 kB / 1.09 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.946, allocations: 4.453 kB / 1.09 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.677e-05/0.946, allocations: 10.47 kB / 1.09 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.9461, allocations: 8.031 kB / 1.09 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.9461, allocations: 0 / 1.09 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002609/0.9464, allocations: 223.3 kB / 1.09 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9464, allocations: 1.469 kB / 1.09 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004617/0.9468, allocations: 71.58 kB / 1.09 GB, free: 13.35 MB / 0.8419 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.0003408/0.9472, allocations: 154.8 kB / 1.09 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003294/0.9475, allocations: 95.67 kB / 1.09 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9475, allocations: 0 / 1.09 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.9477, allocations: 45.95 kB / 1.09 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.948, allocations: 16.48 kB / 1.09 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006436/0.9487, allocations: 309 kB / 1.09 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.9491, allocations: 0.7133 MB / 1.091 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/0.9491, allocations: 13.72 kB / 1.091 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.9491, allocations: 0 / 1.091 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of Templates: time 0.005653/0.9548, allocations: 2.152 MB / 1.093 GB, free: 12.14 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches