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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001569/0.001569, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 196.2 kB / 16.79 MB, free: 6.809 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.472/1.472, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.981/2.981, allocations: 461.8 MB / 0.7348 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 69.38 kB / 0.899 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4503/0.4516, allocations: 157.4 MB / 1.053 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.003415/0.4551, allocations: 1.506 MB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001821/0.457, allocations: 0.9194 MB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.322e-05/0.457, allocations: 0 / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.4573, allocations: 11.92 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005903/0.4579, allocations: 103.8 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.4582, allocations: 90.39 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.4584, allocations: 83.75 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.271e-05/0.4584, allocations: 0 / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.4586, allocations: 39.83 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.4587, allocations: 47.89 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.4587, allocations: 4 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004226/0.4592, allocations: 219.7 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.4593, allocations: 51.88 kB / 1.056 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.448e-05/0.4594, allocations: 55.59 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.4597, allocations: 167.9 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.904e-06/0.4597, allocations: 0 / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4597, allocations: 3.938 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.4597, allocations: 0 / 1.056 GB, free: 5.027 MB / 0.8106 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.0008321/0.4606, allocations: 470.6 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.4606, allocations: 12.03 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/0.4607, allocations: 16.75 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.461, allocations: 263.9 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.461, allocations: 384 / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.461, allocations: 8.125 kB / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.4612, allocations: 69.66 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.4613, allocations: 0 / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.4613, allocations: 8 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.4613, allocations: 0 / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002151/0.4615, allocations: 79.94 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.4618, allocations: 233.5 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.4621, allocations: 114.5 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.4623, allocations: 56.81 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.976e-05/0.4623, allocations: 15.98 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.4624, allocations: 34.56 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.4624, allocations: 0 / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004545/0.4628, allocations: 169.5 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.4629, allocations: 59.39 kB / 1.058 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.4632, allocations: 291.1 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.4632, allocations: 25.7 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.699e-05/0.4633, allocations: 116.1 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.4633, allocations: 19.75 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.4634, allocations: 13.72 kB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.4635, allocations: 326.8 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.4636, allocations: 39.97 kB / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.4638, allocations: 66.47 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.464, allocations: 88.8 kB / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.464, allocations: 0 / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002743/0.4643, allocations: 129.4 kB / 1.059 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.4643, allocations: 8.031 kB / 1.059 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4643, allocations: 0 / 1.059 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.4643, allocations: 0 / 1.059 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-05/0.4644, allocations: 11.98 kB / 1.059 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.4644, allocations: 0 / 1.059 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.886e-05/0.4645, allocations: 15.89 kB / 1.059 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.4646, allocations: 4 kB / 1.059 GB, free: 2.086 MB / 0.8106 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.0001042/0.4647, allocations: 125.8 kB / 1.059 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.4647, allocations: 15.84 kB / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003191/0.465, allocations: 146.5 kB / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.465, allocations: 0 / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.465, allocations: 0 / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.465, allocations: 0 / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.4652, allocations: 221.5 kB / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.4653, allocations: 4 kB / 1.059 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.514e-05/0.4653, allocations: 7.984 kB / 1.059 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.4653, allocations: 8 kB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.4654, allocations: 3.938 kB / 1.059 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4654, allocations: 0 / 1.059 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.4654, allocations: 0 / 1.059 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.4657, allocations: 148.9 kB / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.408e-05/0.4657, allocations: 92.92 kB / 1.059 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.4658, allocations: 7.938 kB / 1.059 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.467e-05/0.4658, allocations: 11.98 kB / 1.059 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.757e-05/0.4659, allocations: 0 / 1.059 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.4659, allocations: 0 / 1.059 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002141/0.4661, allocations: 232.5 kB / 1.06 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4661, allocations: 0 / 1.06 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003561/0.4665, allocations: 71.98 kB / 1.06 GB, free: 0.9062 MB / 0.8106 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.0003206/0.4668, allocations: 147.2 kB / 1.06 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002775/0.4671, allocations: 96.16 kB / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4671, allocations: 0 / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.4672, allocations: 43.91 kB / 1.06 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.4675, allocations: 18.44 kB / 1.06 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005846/0.4681, allocations: 338.7 kB / 1.06 GB, free: 236 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.4685, allocations: 0.7121 MB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.4685, allocations: 19.44 kB / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of SimCode: time 5.31e-07/0.4686, allocations: 0 / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of Templates: time 0.004925/0.4735, allocations: 2.138 MB / 1.063 GB, free: 13.35 MB / 0.8262 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/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