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.007619/0.007619, allocations: 102 kB / 15.73 MB, free: 6.051 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.00172/0.00172, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.291/2.291, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 64.11 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7246/0.726, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002326/0.7284, allocations: 1.45 MB / 1.168 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.7297, allocations: 0.9006 MB / 1.168 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.755e-05/0.7298, allocations: 4 kB / 1.168 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.7299, allocations: 3.938 kB / 1.168 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000497/0.7304, allocations: 137.4 kB / 1.169 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.7307, allocations: 103.7 kB / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.198e-05/0.7308, allocations: 59.81 kB / 1.169 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.609e-05/0.7308, allocations: 4 kB / 1.169 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.31e-05/0.7309, allocations: 47.83 kB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.731, allocations: 43.83 kB / 1.169 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.731, allocations: 0 / 1.169 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003599/0.7314, allocations: 235.7 kB / 1.169 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.29e-05/0.7315, allocations: 51.88 kB / 1.169 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.9e-05/0.7316, allocations: 63.55 kB / 1.169 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003432/0.7319, allocations: 285.4 kB / 1.169 GB, free: 424 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.7319, allocations: 0 / 1.169 GB, free: 424 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7319, allocations: 0 / 1.169 GB, free: 424 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.7319, allocations: 4 kB / 1.169 GB, free: 420 kB / 0.8887 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.000643/0.7326, allocations: 0.4944 MB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.7326, allocations: 12.92 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.785e-05/0.7327, allocations: 34.75 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.7327, allocations: 16.75 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000527/0.7332, allocations: 0.6472 MB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.7333, allocations: 8.125 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.7333, allocations: 4 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.7335, allocations: 73.61 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.7335, allocations: 0 / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.7335, allocations: 0 / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.7335, allocations: 0 / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.7337, allocations: 83.92 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.734, allocations: 321.5 kB / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.7343, allocations: 118.5 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.7344, allocations: 48.88 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.948e-05/0.7345, allocations: 19.98 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.7345, allocations: 34.5 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 2.394e-06/0.7345, allocations: 0 / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0004111/0.7349, allocations: 173.3 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.735, allocations: 55.41 kB / 1.172 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006346/0.7356, allocations: 0.7742 MB / 1.172 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.7356, allocations: 29.7 kB / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/0.7357, allocations: 128.1 kB / 1.172 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.7358, allocations: 11.89 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.7358, allocations: 17.72 kB / 1.172 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.7359, allocations: 326.8 kB / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.736, allocations: 35.97 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.7361, allocations: 70.47 kB / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.7363, allocations: 88.8 kB / 1.173 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.7363, allocations: 3.938 kB / 1.173 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002438/0.7366, allocations: 129.4 kB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.7366, allocations: 8 kB / 1.173 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.7366, allocations: 32 / 1.173 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.7367, allocations: 4 kB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-05/0.7367, allocations: 11.98 kB / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.7367, allocations: 0 / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.7369, allocations: 15.89 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.7369, allocations: 0 / 1.173 GB, free: 12.41 MB / 0.9044 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.723e-05/0.737, allocations: 137.7 kB / 1.173 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.737, allocations: 15.81 kB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.7373, allocations: 142.9 kB / 1.173 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.7373, allocations: 0 / 1.173 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.7373, allocations: 0 / 1.173 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.7373, allocations: 0 / 1.173 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.7375, allocations: 229.5 kB / 1.174 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7375, allocations: 0 / 1.174 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.855e-05/0.7375, allocations: 11.98 kB / 1.174 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.7376, allocations: 0 / 1.174 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.7376, allocations: 0 / 1.174 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7376, allocations: 4 kB / 1.174 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7376, allocations: 0 / 1.174 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.7378, allocations: 161.1 kB / 1.174 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.035e-05/0.7379, allocations: 108.8 kB / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.7379, allocations: 48 / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.781e-05/0.738, allocations: 15.91 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.7381, allocations: 8 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.7381, allocations: 0 / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000458/0.7385, allocations: 0.6136 MB / 1.174 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7385, allocations: 0 / 1.174 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003334/0.7389, allocations: 71.98 kB / 1.175 GB, free: 10.79 MB / 0.9044 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.0006878/0.7396, allocations: 0.7527 MB / 1.175 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000258/0.7398, allocations: 87.88 kB / 1.175 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7399, allocations: 0 / 1.175 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.74, allocations: 47.95 kB / 1.175 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.7403, allocations: 12.5 kB / 1.175 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.7434, allocations: 3.309 MB / 1.179 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.7437, allocations: 0.724 MB / 1.179 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.001e-05/0.7438, allocations: 28.62 kB / 1.179 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.592e-05/0.7438, allocations: 51.42 kB / 1.179 GB, free: 5.656 MB / 0.9044 GB Notification: Performance of SimCode: time 4.11e-07/0.7439, allocations: 0 / 1.179 GB, free: 5.656 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02029/0.7642, allocations: 4.608 MB / 1.184 GB, free: 1.207 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.505/8.269, allocations: 9.516 kB / 1.184 GB, free: 1.199 MB / 0.9044 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 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.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