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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.005526/0.005526, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.00129/0.00129, allocations: 189.6 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.257/1.257, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.491/2.491, allocations: 469.4 MB / 0.7422 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 63.89 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2864, allocations: 159.1 MB / 1.22 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.002417/0.2889, allocations: 1.235 MB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.2901, allocations: 0.7069 MB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.609e-05/0.2901, allocations: 0 / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.678e-05/0.2902, allocations: 0 / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.2903, allocations: 4 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.2906, allocations: 99.58 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.667e-05/0.2907, allocations: 7.984 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.359e-05/0.2907, allocations: 7.984 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.416e-05/0.2908, allocations: 4 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.108e-05/0.2908, allocations: 4 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.2908, allocations: 0 / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002621/0.2911, allocations: 139.7 kB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.2911, allocations: 11.98 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.908e-05/0.2912, allocations: 0 / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.2913, allocations: 75.77 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.2914, allocations: 7.984 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2914, allocations: 0 / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.2914, allocations: 0 / 1.222 GB, free: 12.34 MB / 0.9825 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.0004719/0.2918, allocations: 331.4 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.2919, allocations: 8.031 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.936e-05/0.292, allocations: 34.69 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.292, allocations: 8.938 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.2922, allocations: 160.4 kB / 1.222 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.2922, allocations: 4.125 kB / 1.222 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.2922, allocations: 8 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.2923, allocations: 33.64 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.2923, allocations: 0 / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.2923, allocations: 0 / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.2923, allocations: 3.984 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.633e-05/0.2924, allocations: 4 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001821/0.2926, allocations: 149.7 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.93e-05/0.2926, allocations: 34.47 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.556e-05/0.2927, allocations: 12.92 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004743/0.2932, allocations: 409.5 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.2932, allocations: 34.55 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2932, allocations: 0 / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001698/0.2934, allocations: 41.66 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.2934, allocations: 63.47 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.291e-05/0.2935, allocations: 89.86 kB / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.2935, allocations: 25.7 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/0.2936, allocations: 88.12 kB / 1.223 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.2936, allocations: 7.953 kB / 1.223 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.2937, allocations: 9.719 kB / 1.223 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.2938, allocations: 314.8 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.138e-05/0.2938, allocations: 128 / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.288e-06/0.2938, allocations: 8 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.115e-05/0.2939, allocations: 12.86 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.2939, allocations: 7.875 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.851e-05/0.2939, allocations: 45.62 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.294, allocations: 4 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.294, allocations: 4 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.294, allocations: 0 / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.781e-05/0.294, allocations: 0 / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.2941, allocations: 8.094 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.523e-05/0.2941, allocations: 3.984 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.2941, allocations: 0 / 1.224 GB, free: 10.09 MB / 0.9825 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 7.138e-05/0.2942, allocations: 113.8 kB / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.387e-06/0.2942, allocations: 4 kB / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.746e-05/0.2943, allocations: 40.83 kB / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.2943, allocations: 0 / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2943, allocations: 0 / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2943, allocations: 3.984 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.2944, allocations: 165.6 kB / 1.224 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2944, allocations: 3.938 kB / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.906e-05/0.2944, allocations: 0 / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.2944, allocations: 4 kB / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.2945, allocations: 0 / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2945, allocations: 7.922 kB / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2945, allocations: 0 / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.2946, allocations: 69.08 kB / 1.224 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.2947, allocations: 77.11 kB / 1.224 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.2947, allocations: 7.984 kB / 1.224 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.326e-05/0.2947, allocations: 0 / 1.224 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/0.2947, allocations: 0 / 1.224 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.2947, allocations: 0 / 1.224 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.448e-05/0.2948, allocations: 79.28 kB / 1.224 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2948, allocations: 0 / 1.224 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004717/0.2952, allocations: 19.94 kB / 1.224 GB, free: 9.406 MB / 0.9825 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.0005847/0.2958, allocations: 0.6435 MB / 1.225 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.437e-05/0.2959, allocations: 8 kB / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.2959, allocations: 0 / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.351e-05/0.296, allocations: 15.88 kB / 1.225 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.2962, allocations: 4.156 kB / 1.225 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004604/0.2966, allocations: 131 kB / 1.225 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.297, allocations: 0.6729 MB / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.517e-05/0.297, allocations: 7.984 kB / 1.226 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/0.297, allocations: 7.438 kB / 1.226 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.297, allocations: 0 / 1.226 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01654/0.3136, allocations: 1.529 MB / 1.227 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.059/7.372, allocations: 4.281 kB / 1.227 GB, free: 6.422 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 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.csv","/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