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: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00711/0.00711, allocations: 96.75 kB / 15.73 MB, free: 6.031 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.001602/0.001602, allocations: 194.6 kB / 16.68 MB, free: 5.961 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.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.512/2.512, allocations: 437.1 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 59.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2476, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002309/0.2499, allocations: 1.446 MB / 1.168 GB, free: 5.832 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.2512, allocations: 0.8928 MB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.633e-05/0.2513, allocations: 0 / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.2514, allocations: 11.94 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004819/0.2519, allocations: 135.4 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.2522, allocations: 99.69 kB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.2523, allocations: 59.89 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.435e-05/0.2523, allocations: 7.984 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.123e-05/0.2524, allocations: 39.84 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.839e-05/0.2525, allocations: 43.89 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.2525, allocations: 4 kB / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003591/0.2529, allocations: 235.6 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.034e-05/0.253, allocations: 59.8 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.52e-05/0.2531, allocations: 55.55 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003458/0.2534, allocations: 283.2 kB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2534, allocations: 0 / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2534, allocations: 4 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.2535, allocations: 0 / 1.169 GB, free: 3.918 MB / 0.92 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.0007178/0.2542, allocations: 0.5058 MB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.2542, allocations: 8.031 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.492e-05/0.2543, allocations: 34.75 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.2543, allocations: 16.84 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005913/0.2549, allocations: 0.6551 MB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.2549, allocations: 4.125 kB / 1.171 GB, free: 2.602 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.255, allocations: 8 kB / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.2551, allocations: 69.66 kB / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.2551, allocations: 0 / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.2552, allocations: 0 / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.2552, allocations: 0 / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.2554, allocations: 79.94 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003022/0.2557, allocations: 321.6 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.2559, allocations: 126.4 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.256, allocations: 52.89 kB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.206e-05/0.2561, allocations: 23.91 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.2561, allocations: 30.56 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.2561, allocations: 0 / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0004097/0.2565, allocations: 173.6 kB / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.2566, allocations: 55.41 kB / 1.172 GB, free: 1.586 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006371/0.2572, allocations: 0.7741 MB / 1.172 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.2573, allocations: 25.7 kB / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.751e-05/0.2573, allocations: 128.1 kB / 1.172 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.2574, allocations: 7.891 kB / 1.172 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.2574, allocations: 25.7 kB / 1.172 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.2575, allocations: 330.8 kB / 1.173 GB, free: 276 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.917e-05/0.2576, allocations: 39.97 kB / 1.173 GB, free: 236 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.2577, allocations: 62.52 kB / 1.173 GB, free: 164 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.2579, allocations: 88.8 kB / 1.173 GB, free: 72 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.258, allocations: 7.969 kB / 1.173 GB, free: 64 kB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00026/0.2582, allocations: 133.4 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.2582, allocations: 4 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.2582, allocations: 0 / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.2583, allocations: 4 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.509e-05/0.2583, allocations: 7.984 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.2583, allocations: 4 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.882e-05/0.2585, allocations: 8 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.2585, allocations: 4 kB / 1.173 GB, free: 15.89 MB / 0.9356 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 9.506e-05/0.2586, allocations: 133.8 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.2586, allocations: 15.91 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002829/0.2589, allocations: 142.8 kB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.2589, allocations: 0 / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2589, allocations: 0 / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2589, allocations: 4 kB / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.2591, allocations: 233.5 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2591, allocations: 0 / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.292e-05/0.2592, allocations: 11.98 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.2592, allocations: 0 / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.2592, allocations: 4 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2592, allocations: 0 / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2592, allocations: 0 / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.2594, allocations: 160.9 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.601e-05/0.2595, allocations: 105 kB / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.2596, allocations: 4 kB / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.814e-05/0.2596, allocations: 4 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.2597, allocations: 3.984 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-06/0.2597, allocations: 7.938 kB / 1.174 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000481/0.2602, allocations: 0.6175 MB / 1.175 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.403e-06/0.2602, allocations: 0 / 1.175 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002906/0.2605, allocations: 79.8 kB / 1.175 GB, free: 14.27 MB / 0.9356 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.0006539/0.2611, allocations: 0.7529 MB / 1.175 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002531/0.2614, allocations: 91.92 kB / 1.175 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2614, allocations: 0 / 1.175 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.2615, allocations: 47.91 kB / 1.175 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.2618, allocations: 16.56 kB / 1.175 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/0.2648, allocations: 3.316 MB / 1.179 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.2651, allocations: 0.724 MB / 1.179 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.542e-05/0.2652, allocations: 20.64 kB / 1.179 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.896e-05/0.2652, allocations: 47.42 kB / 1.179 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.2652, allocations: 0 / 1.179 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01879/0.284, allocations: 4.588 MB / 1.184 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.459/7.743, allocations: 11.64 kB / 1.184 GB, free: 4.688 MB / 0.9356 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.csv","/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