Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001281/0.001281, allocations: 113.4 kB / 16.37 MB, free: 6.012 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.001279/0.001279, allocations: 191.3 kB / 17.31 MB, free: 5.613 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.163/2.163, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 65.83 kB / 0.814 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2385, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002684/0.2412, allocations: 1.451 MB / 0.9525 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.2426, allocations: 0.8929 MB / 0.9534 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.352e-05/0.2427, allocations: 4 kB / 0.9534 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.2428, allocations: 3.938 kB / 0.9534 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000598/0.2435, allocations: 135.6 kB / 0.9536 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.2437, allocations: 103.8 kB / 0.9537 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.2438, allocations: 59.77 kB / 0.9537 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.891e-05/0.2439, allocations: 8 kB / 0.9537 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.314e-05/0.244, allocations: 39.83 kB / 0.9538 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.2441, allocations: 51.88 kB / 0.9538 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.2442, allocations: 4 kB / 0.9538 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003867/0.2446, allocations: 227.6 kB / 0.954 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.233e-05/0.2447, allocations: 51.88 kB / 0.9541 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.029e-05/0.2447, allocations: 55.59 kB / 0.9541 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003689/0.2451, allocations: 251.3 kB / 0.9544 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.2451, allocations: 7.922 kB / 0.9544 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.295e-06/0.2451, allocations: 0 / 0.9544 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.2452, allocations: 4 kB / 0.9544 GB, free: 4.707 MB / 0.7325 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.0007964/0.246, allocations: 470.5 kB / 0.9548 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.246, allocations: 12.03 kB / 0.9548 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.081e-05/0.2461, allocations: 16.75 kB / 0.9549 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.2464, allocations: 260 kB / 0.9551 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.2464, allocations: 384 / 0.9551 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.2464, allocations: 8.125 kB / 0.9551 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.2466, allocations: 69.61 kB / 0.9552 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.2466, allocations: 0 / 0.9552 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.2467, allocations: 4 kB / 0.9552 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2467, allocations: 4 kB / 0.9552 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.2469, allocations: 83.92 kB / 0.9553 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002716/0.2471, allocations: 225.6 kB / 0.9555 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.2474, allocations: 114.5 kB / 0.9556 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.2475, allocations: 56.83 kB / 0.9556 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.784e-05/0.2476, allocations: 19.91 kB / 0.9557 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.2476, allocations: 34.56 kB / 0.9557 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.2476, allocations: 3.938 kB / 0.9557 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0003615/0.248, allocations: 165.4 kB / 0.9559 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.248, allocations: 55.41 kB / 0.9559 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.2483, allocations: 291.1 kB / 0.9562 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.2483, allocations: 25.7 kB / 0.9562 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.384e-05/0.2484, allocations: 116.1 kB / 0.9563 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.2484, allocations: 15.84 kB / 0.9563 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.2485, allocations: 13.72 kB / 0.9564 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2486, allocations: 330.8 kB / 0.9567 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.624e-05/0.2487, allocations: 39.97 kB / 0.9567 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.2488, allocations: 62.48 kB / 0.9568 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.249, allocations: 97.05 kB / 0.9569 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.249, allocations: 0 / 0.9569 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002225/0.2492, allocations: 125.4 kB / 0.957 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.2493, allocations: 8.031 kB / 0.957 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2493, allocations: 0 / 0.957 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.2493, allocations: 4 kB / 0.957 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.358e-05/0.2494, allocations: 7.984 kB / 0.957 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.2494, allocations: 7.938 kB / 0.957 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.548e-05/0.2495, allocations: 7.984 kB / 0.957 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.2495, allocations: 4 kB / 0.957 GB, free: 1.77 MB / 0.7325 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.206e-05/0.2496, allocations: 133.3 kB / 0.9571 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.2496, allocations: 23.69 kB / 0.9572 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/0.2499, allocations: 138.5 kB / 0.9573 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.2499, allocations: 0 / 0.9573 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.2499, allocations: 0 / 0.9573 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2499, allocations: 0 / 0.9573 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.2501, allocations: 213.6 kB / 0.9575 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2501, allocations: 0 / 0.9575 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.127e-05/0.2502, allocations: 11.98 kB / 0.9575 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.2502, allocations: 8 kB / 0.9575 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.2502, allocations: 0 / 0.9575 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2502, allocations: 3.938 kB / 0.9575 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2502, allocations: 0 / 0.9575 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.2505, allocations: 152.8 kB / 0.9577 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.657e-05/0.2506, allocations: 96.91 kB / 0.9578 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.2506, allocations: 7.938 kB / 0.9578 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.887e-05/0.2507, allocations: 8 kB / 0.9578 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.2507, allocations: 3.984 kB / 0.9578 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.2507, allocations: 4 kB / 0.9578 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002039/0.2509, allocations: 220.6 kB / 0.958 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2509, allocations: 0 / 0.958 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000303/0.2513, allocations: 71.98 kB / 0.9581 GB, free: 0.5898 MB / 0.7325 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.0002914/0.2516, allocations: 155.2 kB / 0.9582 GB, free: 440 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002742/0.2518, allocations: 91.88 kB / 0.9583 GB, free: 348 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2519, allocations: 0 / 0.9583 GB, free: 348 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.821e-05/0.252, allocations: 43.95 kB / 0.9583 GB, free: 304 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.2522, allocations: 16.61 kB / 0.9584 GB, free: 284 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004561/0.2527, allocations: 307.2 kB / 0.9587 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.2529, allocations: 0.7272 MB / 0.9594 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.08e-05/0.253, allocations: 16.86 kB / 0.9594 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.253, allocations: 15.44 kB / 0.9594 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.253, allocations: 0 / 0.9594 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of Templates: time 0.004958/0.258, allocations: 2.133 MB / 0.9615 GB, free: 13.04 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & ./Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches