Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001391/0.001391, allocations: 104.8 kB / 16.27 MB, free: 6.418 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.001422/0.001422, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.463/1.463, 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 10.1.1-maint.10.0.x/package.mo): time 2.56/2.56, allocations: 437.1 MB / 0.711 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002207, allocations: 64.61 kB / 0.8699 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4028, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.003519/0.4063, allocations: 1.445 MB / 1.019 GB, free: 9.199 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001743/0.4081, allocations: 0.8981 MB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.799e-05/0.4082, allocations: 0 / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.4084, allocations: 7.938 kB / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0007149/0.4092, allocations: 136.2 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.4095, allocations: 103.4 kB / 1.02 GB, free: 8.059 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000138/0.4096, allocations: 67.77 kB / 1.021 GB, free: 7.992 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.736e-05/0.4097, allocations: 4 kB / 1.021 GB, free: 7.988 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.4098, allocations: 39.83 kB / 1.021 GB, free: 7.949 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.41, allocations: 47.75 kB / 1.021 GB, free: 7.902 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.41, allocations: 4 kB / 1.021 GB, free: 7.898 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004056/0.4104, allocations: 231.7 kB / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.296e-05/0.4105, allocations: 47.88 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.338e-05/0.4106, allocations: 55.59 kB / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004631/0.4111, allocations: 259.5 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4111, allocations: 0 / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4111, allocations: 0 / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.4111, allocations: 0 / 1.021 GB, free: 7.316 MB / 0.795 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.0007828/0.4119, allocations: 470.6 kB / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.4119, allocations: 8.922 kB / 1.022 GB, free: 6.801 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.381e-05/0.412, allocations: 16.75 kB / 1.022 GB, free: 6.785 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.4123, allocations: 267.9 kB / 1.022 GB, free: 6.484 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.4123, allocations: 384 / 1.022 GB, free: 6.484 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.4124, allocations: 8.125 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.4126, allocations: 73.59 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.4126, allocations: 0 / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.4126, allocations: 4 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.4126, allocations: 0 / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.4129, allocations: 83.88 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002912/0.4132, allocations: 229.6 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.4134, allocations: 110.6 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.4136, allocations: 52.77 kB / 1.022 GB, free: 5.867 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 6.148e-05/0.4136, allocations: 19.98 kB / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.4137, allocations: 34.5 kB / 1.023 GB, free: 5.805 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.4137, allocations: 0 / 1.023 GB, free: 5.805 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0004389/0.4141, allocations: 165.4 kB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.4142, allocations: 55.34 kB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.4144, allocations: 303.1 kB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.4145, allocations: 25.7 kB / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.699e-05/0.4145, allocations: 124.1 kB / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.4146, allocations: 7.844 kB / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.185e-05/0.4146, allocations: 21.7 kB / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.4148, allocations: 322.8 kB / 1.024 GB, free: 4.746 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.4149, allocations: 43.97 kB / 1.024 GB, free: 4.703 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.415, allocations: 70.47 kB / 1.024 GB, free: 4.625 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.4152, allocations: 85.06 kB / 1.024 GB, free: 4.539 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4152, allocations: 0 / 1.024 GB, free: 4.539 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002735/0.4155, allocations: 129.4 kB / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.4155, allocations: 10.97 kB / 1.024 GB, free: 4.398 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.4156, allocations: 4.031 kB / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.4156, allocations: 0 / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.497e-05/0.4157, allocations: 12 kB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-06/0.4157, allocations: 0 / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.392e-05/0.4158, allocations: 7.984 kB / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-06/0.4158, allocations: 4 kB / 1.024 GB, free: 4.371 MB / 0.795 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.0001032/0.4159, allocations: 129.8 kB / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.4159, allocations: 19.75 kB / 1.024 GB, free: 4.215 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002986/0.4162, allocations: 138.5 kB / 1.024 GB, free: 4.066 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.4163, allocations: 4 kB / 1.024 GB, free: 4.062 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4163, allocations: 0 / 1.024 GB, free: 4.062 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4163, allocations: 0 / 1.024 GB, free: 4.062 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.4165, allocations: 225.5 kB / 1.024 GB, free: 3.793 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4165, allocations: 0 / 1.024 GB, free: 3.793 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.407e-05/0.4165, allocations: 8 kB / 1.024 GB, free: 3.785 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.4165, allocations: 0 / 1.024 GB, free: 3.785 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.4166, allocations: 4 kB / 1.024 GB, free: 3.781 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.738e-06/0.4166, allocations: 3.984 kB / 1.024 GB, free: 3.777 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4166, allocations: 0 / 1.024 GB, free: 3.777 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.4169, allocations: 156.8 kB / 1.025 GB, free: 3.605 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.43e-05/0.4169, allocations: 92.91 kB / 1.025 GB, free: 3.496 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.417, allocations: 0 / 1.025 GB, free: 3.496 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.801e-05/0.417, allocations: 11.98 kB / 1.025 GB, free: 3.484 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.4171, allocations: 7.938 kB / 1.025 GB, free: 3.477 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.4171, allocations: 0 / 1.025 GB, free: 3.477 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001984/0.4173, allocations: 220.6 kB / 1.025 GB, free: 3.262 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4173, allocations: 0 / 1.025 GB, free: 3.262 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003489/0.4177, allocations: 72 kB / 1.025 GB, free: 3.191 MB / 0.795 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.0003252/0.418, allocations: 155.2 kB / 1.025 GB, free: 3.031 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000287/0.4183, allocations: 95.86 kB / 1.025 GB, free: 2.938 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4183, allocations: 0 / 1.025 GB, free: 2.938 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.4184, allocations: 43.97 kB / 1.025 GB, free: 2.895 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.4187, allocations: 12.61 kB / 1.025 GB, free: 2.879 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006233/0.4193, allocations: 311.3 kB / 1.025 GB, free: 2.547 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.4196, allocations: 0.7119 MB / 1.026 GB, free: 1.809 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.4196, allocations: 15.42 kB / 1.026 GB, free: 1.793 MB / 0.795 GB Notification: Performance of SimCode: time 5.71e-07/0.4197, allocations: 4 kB / 1.026 GB, free: 1.789 MB / 0.795 GB Notification: Performance of Templates: time 0.004788/0.4244, allocations: 2.147 MB / 1.028 GB, free: 15.66 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & ./Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches