Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.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: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",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.001204/0.001204, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00123/0.001229, allocations: 192.3 kB / 16.14 MB, free: 6.719 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.18/1.18, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.347/2.347, allocations: 461.8 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 65.91 kB / 0.8985 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2202, allocations: 157.4 MB / 1.052 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.002074/0.2223, allocations: 1.298 MB / 1.053 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009922/0.2233, allocations: 0.7364 MB / 1.054 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.276e-05/0.2233, allocations: 0 / 1.054 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.686e-05/0.2233, allocations: 3.938 kB / 1.054 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.2235, allocations: 0 / 1.054 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.2237, allocations: 79.78 kB / 1.054 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.434e-05/0.2237, allocations: 11.92 kB / 1.054 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.145e-05/0.2237, allocations: 0 / 1.054 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.137e-05/0.2238, allocations: 7.938 kB / 1.054 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.201e-05/0.2238, allocations: 3.984 kB / 1.054 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.264e-06/0.2239, allocations: 0 / 1.054 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002229/0.2241, allocations: 131.8 kB / 1.054 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.406e-06/0.2241, allocations: 7.922 kB / 1.054 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.6e-05/0.2241, allocations: 3.938 kB / 1.054 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.2243, allocations: 79.88 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2243, allocations: 4 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.31e-07/0.2243, allocations: 0 / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.785e-06/0.2243, allocations: 0 / 1.055 GB, free: 5.824 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002913/0.2246, allocations: 331.8 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2246, allocations: 15.97 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.813e-05/0.2247, allocations: 34.69 kB / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.876e-05/0.2247, allocations: 0.9375 kB / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.276e-05/0.2248, allocations: 160.4 kB / 1.055 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-06/0.2248, allocations: 4.375 kB / 1.055 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.254e-06/0.2248, allocations: 7.938 kB / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.857e-05/0.2249, allocations: 33.69 kB / 1.055 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-06/0.2249, allocations: 0 / 1.055 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-06/0.2249, allocations: 0 / 1.055 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.2249, allocations: 0 / 1.055 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.706e-05/0.2249, allocations: 11.94 kB / 1.055 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001259/0.2251, allocations: 149.7 kB / 1.055 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.456e-05/0.2251, allocations: 34.55 kB / 1.055 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.192e-05/0.2252, allocations: 4.859 kB / 1.055 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003639/0.2255, allocations: 413.6 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.2256, allocations: 34.56 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2256, allocations: 0 / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001119/0.2257, allocations: 45.55 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.2257, allocations: 55.53 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.846e-05/0.2258, allocations: 101.8 kB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.2258, allocations: 25.7 kB / 1.056 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.264e-05/0.2258, allocations: 80.14 kB / 1.056 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.2258, allocations: 3.906 kB / 1.056 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.2259, allocations: 13.72 kB / 1.056 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.226, allocations: 314.8 kB / 1.056 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.139e-05/0.226, allocations: 4.125 kB / 1.056 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-06/0.226, allocations: 11.92 kB / 1.056 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.499e-05/0.226, allocations: 12.8 kB / 1.056 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.226, allocations: 0 / 1.056 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.727e-05/0.2261, allocations: 45.64 kB / 1.056 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.2261, allocations: 4 kB / 1.056 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.2261, allocations: 0 / 1.056 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.2261, allocations: 0 / 1.056 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.2e-05/0.2262, allocations: 7.984 kB / 1.056 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2262, allocations: 4.094 kB / 1.056 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.172e-05/0.2262, allocations: 0 / 1.056 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.2262, allocations: 0 / 1.056 GB, free: 3.574 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 (2): * Single equations (assignments): 2 * 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 6.153e-05/0.2263, allocations: 117.7 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-06/0.2263, allocations: 4 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.549e-05/0.2264, allocations: 44.75 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2264, allocations: 0 / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2264, allocations: 0 / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-06/0.2264, allocations: 0 / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.942e-05/0.2265, allocations: 165.6 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2265, allocations: 3.984 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.2265, allocations: 4 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2265, allocations: 0 / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-06/0.2265, allocations: 0 / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2265, allocations: 0 / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2265, allocations: 0 / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.751e-05/0.2266, allocations: 73 kB / 1.057 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.676e-05/0.2266, allocations: 85.12 kB / 1.057 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-06/0.2267, allocations: 0 / 1.057 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.033e-05/0.2267, allocations: 0 / 1.057 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.096e-05/0.2267, allocations: 0 / 1.057 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.2267, allocations: 8 kB / 1.057 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.599e-05/0.2267, allocations: 75.28 kB / 1.057 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2267, allocations: 0 / 1.057 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001966/0.2269, allocations: 23.98 kB / 1.057 GB, free: 2.883 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 (2): * Single equations (assignments): 2 * 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.0003718/0.2273, allocations: 0.632 MB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.521e-05/0.2274, allocations: 11.94 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2274, allocations: 0 / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.01e-05/0.2274, allocations: 4 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001227/0.2275, allocations: 6.125 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002989/0.2278, allocations: 136.8 kB / 1.058 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.228, allocations: 0.6848 MB / 1.058 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.521e-05/0.2281, allocations: 0 / 1.058 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.057e-05/0.2281, allocations: 7.438 kB / 1.058 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of SimCode: time 2.9e-07/0.2281, allocations: 0 / 1.058 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.976/1.204, allocations: 1.39 MB / 1.06 GB, free: 56 kB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002882/1.204, allocations: 224.1 kB / 1.06 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/3.177, allocations: 0 / 1.06 GB, free: 15.8 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches