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.00148/0.00148, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002176/0.002176, allocations: 196.4 kB / 16.14 MB, free: 6.711 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.505/1.505, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3/3, allocations: 472.6 MB / 0.7447 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001464, allocations: 70.86 kB / 0.9114 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.4261, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.003246/0.4294, allocations: 1.499 MB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00178/0.4312, allocations: 0.9312 MB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.565e-05/0.4313, allocations: 0 / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001757/0.4315, allocations: 7.984 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005965/0.4321, allocations: 111.2 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.4324, allocations: 87.83 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.4326, allocations: 75.81 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.252e-05/0.4326, allocations: 0 / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.4328, allocations: 43.83 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.4329, allocations: 39.89 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.4329, allocations: 11.98 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004236/0.4334, allocations: 215.7 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.4335, allocations: 55.81 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.648e-05/0.4336, allocations: 47.67 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005393/0.4342, allocations: 259.5 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.4342, allocations: 0 / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4342, allocations: 0 / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.4342, allocations: 0 / 1.071 GB, free: 7.418 MB / 0.8262 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.0008734/0.4351, allocations: 462.7 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.4351, allocations: 12.03 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.174e-05/0.4352, allocations: 16.75 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.4355, allocations: 275.8 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.4356, allocations: 4.312 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.4356, allocations: 8.125 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.4358, allocations: 69.66 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.984e-06/0.4358, allocations: 4 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.4358, allocations: 0 / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.4359, allocations: 0 / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.4361, allocations: 83.88 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.4364, allocations: 229.6 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.4367, allocations: 118.6 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.4368, allocations: 48.77 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.99e-05/0.4369, allocations: 19.98 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.4369, allocations: 30.56 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.4369, allocations: 0 / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0004659/0.4374, allocations: 169.3 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.4374, allocations: 51.41 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003407/0.4378, allocations: 307 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.4378, allocations: 29.7 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.709e-05/0.4379, allocations: 116.1 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.4379, allocations: 7.844 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.438, allocations: 21.7 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4381, allocations: 322.8 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.4382, allocations: 43.97 kB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.4384, allocations: 66.53 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.4386, allocations: 80.8 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4386, allocations: 0 / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002575/0.4389, allocations: 129.3 kB / 1.073 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.4389, allocations: 8 kB / 1.073 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.4389, allocations: 3.984 kB / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.4389, allocations: 4.031 kB / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.632e-05/0.439, allocations: 12 kB / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.439, allocations: 0 / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.812e-05/0.4391, allocations: 9.703 kB / 1.073 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.4391, allocations: 4 kB / 1.073 GB, free: 4.473 MB / 0.8262 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.0001207/0.4393, allocations: 127.6 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.4393, allocations: 19.75 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003138/0.4396, allocations: 150.5 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.4396, allocations: 3.938 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.4396, allocations: 0 / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.4397, allocations: 0 / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.4398, allocations: 221.5 kB / 1.074 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.4399, allocations: 3.984 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.348e-05/0.4399, allocations: 8 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.4399, allocations: 0 / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.4399, allocations: 0 / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.44, allocations: 4 kB / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.44, allocations: 0 / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.4402, allocations: 165.1 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.792e-05/0.4403, allocations: 92.91 kB / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.4404, allocations: 0 / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.309e-05/0.4404, allocations: 7.984 kB / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.4405, allocations: 8 kB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.4405, allocations: 0 / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002217/0.4407, allocations: 219.2 kB / 1.074 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4407, allocations: 4 kB / 1.074 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003922/0.4411, allocations: 68 kB / 1.075 GB, free: 3.293 MB / 0.8262 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.0003235/0.4414, allocations: 159.1 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002811/0.4417, allocations: 87.92 kB / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4418, allocations: 4 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.4419, allocations: 47.91 kB / 1.075 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.4422, allocations: 15.8 kB / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005544/0.4427, allocations: 332.6 kB / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.4431, allocations: 0.7316 MB / 1.076 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.977e-05/0.4432, allocations: 12.55 kB / 1.076 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.4432, allocations: 15.44 kB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.4432, allocations: 0 / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of Templates: time 0.005931/0.4492, allocations: 2.018 MB / 1.078 GB, free: 15.81 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=480 -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/jenkins/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