Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.WindPressureProfile,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="Buildings_latest_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.008417/0.008417, allocations: 101.1 kB / 15.73 MB, free: 6.059 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.002308/0.002308, allocations: 189.5 kB / 16.67 MB, free: 5.973 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.768/2.768, allocations: 482.4 MB / 0.7548 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.003384/0.003384, allocations: 63.22 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3146, allocations: 162.2 MB / 1.241 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002616/0.3173, allocations: 1.443 MB / 1.243 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.3188, allocations: 0.8934 MB / 1.244 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.24e-05/0.3188, allocations: 0 / 1.244 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.319, allocations: 7.938 kB / 1.244 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005253/0.3195, allocations: 131.7 kB / 1.244 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.3198, allocations: 107.6 kB / 1.244 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.3199, allocations: 71.75 kB / 1.244 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.581e-05/0.32, allocations: 0 / 1.244 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.829e-05/0.3201, allocations: 43.83 kB / 1.244 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.3202, allocations: 43.89 kB / 1.244 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.3202, allocations: 4 kB / 1.244 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004202/0.3207, allocations: 231.6 kB / 1.244 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.789e-05/0.3208, allocations: 55.88 kB / 1.244 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.703e-05/0.3208, allocations: 55.55 kB / 1.244 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004264/0.3213, allocations: 295.2 kB / 1.245 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.3213, allocations: 0 / 1.245 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.759e-06/0.3213, allocations: 3.984 kB / 1.245 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.3213, allocations: 4 kB / 1.245 GB, free: 5.883 MB / 0.9669 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.00076/0.3221, allocations: 0.5038 MB / 1.245 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.3221, allocations: 8.031 kB / 1.245 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.928e-05/0.3222, allocations: 34.75 kB / 1.245 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.3222, allocations: 16.84 kB / 1.245 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006617/0.3229, allocations: 0.6512 MB / 1.246 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.3229, allocations: 4.125 kB / 1.246 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.3229, allocations: 7.984 kB / 1.246 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.3231, allocations: 69.67 kB / 1.246 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.3231, allocations: 0 / 1.246 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.3232, allocations: 0 / 1.246 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.3232, allocations: 7.922 kB / 1.246 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002262/0.3234, allocations: 87.92 kB / 1.246 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003488/0.3238, allocations: 321.6 kB / 1.246 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.324, allocations: 118.5 kB / 1.247 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.3242, allocations: 48.89 kB / 1.247 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.29e-05/0.3242, allocations: 15.98 kB / 1.247 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.3243, allocations: 30.56 kB / 1.247 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.3243, allocations: 0 / 1.247 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0004522/0.3247, allocations: 177.4 kB / 1.247 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.3248, allocations: 55.41 kB / 1.247 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007746/0.3256, allocations: 0.7703 MB / 1.248 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.3256, allocations: 25.7 kB / 1.248 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.965e-05/0.3257, allocations: 132.1 kB / 1.248 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.3257, allocations: 7.938 kB / 1.248 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.3257, allocations: 17.72 kB / 1.248 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3259, allocations: 334.8 kB / 1.248 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.326, allocations: 39.97 kB / 1.248 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.3262, allocations: 58.53 kB / 1.248 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.3264, allocations: 88.73 kB / 1.248 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3264, allocations: 15.91 kB / 1.248 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002871/0.3267, allocations: 129.5 kB / 1.248 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.3267, allocations: 4 kB / 1.248 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3267, allocations: 0 / 1.248 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.3268, allocations: 0 / 1.248 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.142e-05/0.3268, allocations: 11.98 kB / 1.248 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.3269, allocations: 0 / 1.248 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.327, allocations: 11.98 kB / 1.248 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.327, allocations: 8 kB / 1.248 GB, free: 1.871 MB / 0.9669 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.0001166/0.3271, allocations: 137.2 kB / 1.249 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.3271, allocations: 15.91 kB / 1.249 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003234/0.3275, allocations: 138.8 kB / 1.249 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3275, allocations: 4 kB / 1.249 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3275, allocations: 0 / 1.249 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3275, allocations: 0 / 1.249 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.3277, allocations: 229.9 kB / 1.249 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3277, allocations: 0 / 1.249 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.047e-05/0.3278, allocations: 11.98 kB / 1.249 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.3278, allocations: 0 / 1.249 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.3278, allocations: 4 kB / 1.249 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3278, allocations: 0 / 1.249 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3278, allocations: 0 / 1.249 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.3281, allocations: 168.8 kB / 1.249 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.086e-05/0.3282, allocations: 105 kB / 1.249 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.3283, allocations: 4 kB / 1.249 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.338e-05/0.3283, allocations: 4 kB / 1.249 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.3284, allocations: 3.984 kB / 1.249 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.3284, allocations: 4 kB / 1.249 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005889/0.329, allocations: 0.6214 MB / 1.25 GB, free: 336 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.329, allocations: 3.938 kB / 1.25 GB, free: 332 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003022/0.3293, allocations: 71.86 kB / 1.25 GB, free: 260 kB / 0.9669 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.000799/0.3301, allocations: 0.7604 MB / 1.251 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002716/0.3304, allocations: 83.94 kB / 1.251 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3304, allocations: 0 / 1.251 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.3305, allocations: 47.95 kB / 1.251 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.3308, allocations: 16.56 kB / 1.251 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003693/0.3345, allocations: 3.309 MB / 1.254 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.3348, allocations: 0.724 MB / 1.255 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.264e-05/0.3349, allocations: 24.62 kB / 1.255 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.409e-05/0.335, allocations: 50.42 kB / 1.255 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.335, allocations: 0 / 1.255 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/0.361, allocations: 4.591 MB / 1.259 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.776/8.137, allocations: 5.031 kB / 1.259 GB, free: 6.672 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.csv --start-time 0 --stop-time 500 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches