Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 99.75 kB / 18.95 MB, free: 2.832 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002187/0.002187, allocations: 223.9 kB / 22.25 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.387/1.387, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.103/3.103, allocations: 0.49 GB / 0.7951 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.39 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3063, allocations: 176.1 MB / 1.326 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.00274/0.309, allocations: 1.477 MB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.3105, allocations: 0.8649 MB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.836e-05/0.3106, allocations: 3.938 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.3107, allocations: 4 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005458/0.3113, allocations: 146.7 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.3115, allocations: 107.9 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.3116, allocations: 67.81 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.544e-05/0.3116, allocations: 0 / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.3118, allocations: 47.83 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.3119, allocations: 51.77 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.3119, allocations: 8 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004372/0.3124, allocations: 255.6 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.008e-05/0.3125, allocations: 55.81 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.839e-05/0.3125, allocations: 47.72 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000393/0.3129, allocations: 283 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3129, allocations: 0 / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3129, allocations: 0 / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.3129, allocations: 0 / 1.329 GB, free: 14.14 MB / 1.029 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.0007337/0.3137, allocations: 444.8 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3137, allocations: 16.03 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.835e-05/0.3137, allocations: 34.73 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.3138, allocations: 16.84 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006259/0.3144, allocations: 0.5948 MB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.3144, allocations: 8.125 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.3144, allocations: 0 / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.3146, allocations: 73.66 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3146, allocations: 3.938 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.3146, allocations: 0 / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3146, allocations: 3.984 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002026/0.3148, allocations: 83.94 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.3152, allocations: 280.7 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.3154, allocations: 118.4 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.3156, allocations: 48.89 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.604e-05/0.3156, allocations: 11.98 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.3156, allocations: 38.5 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3156, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0004263/0.3161, allocations: 169.5 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.3161, allocations: 55.41 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007318/0.3168, allocations: 0.7704 MB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.3169, allocations: 25.7 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.008e-05/0.3169, allocations: 136.1 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.317, allocations: 7.906 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.317, allocations: 21.7 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3172, allocations: 326.8 kB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.3173, allocations: 43.97 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.3174, allocations: 113.9 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.3176, allocations: 88.73 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.3176, allocations: 3.938 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000251/0.3179, allocations: 133.5 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3179, allocations: 14.22 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3179, allocations: 7.875 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3179, allocations: 0 / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.079e-05/0.318, allocations: 11.98 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.318, allocations: 0 / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.3181, allocations: 8 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.3181, allocations: 0 / 1.333 GB, free: 10.25 MB / 1.029 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.0001036/0.3182, allocations: 138.2 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.3182, allocations: 19.86 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002834/0.3185, allocations: 139 kB / 1.333 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3185, allocations: 0 / 1.333 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3185, allocations: 0 / 1.333 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3185, allocations: 0 / 1.333 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.3187, allocations: 197 kB / 1.333 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3187, allocations: 0 / 1.333 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.437e-05/0.3187, allocations: 15.98 kB / 1.333 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3187, allocations: 0 / 1.333 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.3187, allocations: 0 / 1.333 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3187, allocations: 4 kB / 1.333 GB, free: 9.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3187, allocations: 0 / 1.333 GB, free: 9.68 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.319, allocations: 164.8 kB / 1.333 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.243e-05/0.3191, allocations: 35.77 kB / 1.333 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.3191, allocations: 0 / 1.333 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.304e-05/0.3192, allocations: 8 kB / 1.333 GB, free: 9.457 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.3192, allocations: 3.984 kB / 1.333 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.3192, allocations: 4 kB / 1.333 GB, free: 9.449 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005525/0.3198, allocations: 0.6136 MB / 1.334 GB, free: 8.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3198, allocations: 4 kB / 1.334 GB, free: 8.836 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003422/0.3201, allocations: 71.92 kB / 1.334 GB, free: 8.766 MB / 1.029 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.000773/0.3209, allocations: 0.7488 MB / 1.335 GB, free: 7.988 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002601/0.3211, allocations: 79.94 kB / 1.335 GB, free: 7.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3211, allocations: 4 kB / 1.335 GB, free: 7.906 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.3212, allocations: 47.89 kB / 1.335 GB, free: 7.859 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.3215, allocations: 17.44 kB / 1.335 GB, free: 7.84 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003518/0.325, allocations: 3.323 MB / 1.338 GB, free: 4.438 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.3251, allocations: 110.5 kB / 1.338 GB, free: 4.312 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.097e-05/0.3252, allocations: 24.58 kB / 1.338 GB, free: 4.289 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.998e-05/0.3253, allocations: 55.41 kB / 1.338 GB, free: 4.234 MB / 1.029 GB Notification: Performance of SimCode: time 4.5e-07/0.3253, allocations: 0 / 1.338 GB, free: 4.234 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03122/0.3565, allocations: 5.254 MB / 1.344 GB, free: 15.14 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.05, allocations: 1.891 kB / 1.344 GB, free: 15.14 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.523826938995626]