Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.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.0008017/0.0008017, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007872/0.0007872, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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 0.8462/0.8462, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.699/1.699, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Validation.OneWayFlow,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.703e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.5436/0.5436, allocations: 193.1 MB / 1.188 GB, free: 9.008 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.02149/0.5651, allocations: 24.42 MB / 1.212 GB, free: 8.684 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001678/0.5668, allocations: 41.28 kB / 1.212 GB, free: 8.664 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.002051/0.5688, allocations: 1.14 MB / 1.213 GB, free: 8.113 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.006586/0.5754, allocations: 3.407 MB / 1.217 GB, free: 5.926 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.003117/0.5785, allocations: 1.815 MB / 1.218 GB, free: 4.594 MB / 1.057 GB Notification: Performance of NFFlatten.flatten: time 0.00329/0.5818, allocations: 3.851 MB / 1.222 GB, free: 2.398 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.5828, allocations: 1.061 MB / 1.223 GB, free: 1.656 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003194/0.586, allocations: 2.862 MB / 1.226 GB, free: 15.85 MB / 1.073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.5872, allocations: 1.389 MB / 1.227 GB, free: 15.16 MB / 1.073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.5874, allocations: 133.5 kB / 1.227 GB, free: 15.16 MB / 1.073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002438/0.5898, allocations: 1.637 MB / 1.229 GB, free: 14.28 MB / 1.073 GB Notification: Performance of NFScalarize.scalarize: time 0.0004887/0.5903, allocations: 0.9294 MB / 1.23 GB, free: 13.68 MB / 1.073 GB Notification: Performance of NFVerifyModel.verify: time 0.0005323/0.5908, allocations: 0.7815 MB / 1.231 GB, free: 13.32 MB / 1.073 GB Notification: Performance of NFConvertDAE.convert: time 0.002606/0.5934, allocations: 3.073 MB / 1.234 GB, free: 11.48 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.5934, allocations: 2.188 kB / 1.234 GB, free: 11.48 MB / 1.073 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5934, allocations: 0 / 1.234 GB, free: 11.48 MB / 1.073 GB Notification: Performance of Transformations before backend: time 2.148e-05/0.5935, allocations: 0 / 1.234 GB, free: 11.48 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.002796/0.5962, allocations: 2.883 MB / 1.237 GB, free: 9.383 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.5963, allocations: 8.844 kB / 1.237 GB, free: 9.383 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001515/0.5964, allocations: 200.7 kB / 1.237 GB, free: 9.227 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00198/0.5984, allocations: 0.7345 MB / 1.237 GB, free: 8.547 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002424/0.6008, allocations: 2.746 MB / 1.24 GB, free: 5.746 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-05/0.6009, allocations: 94.52 kB / 1.24 GB, free: 5.652 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.601, allocations: 128 kB / 1.24 GB, free: 5.527 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002332/0.6034, allocations: 1.786 MB / 1.242 GB, free: 3.598 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/0.6034, allocations: 7.891 kB / 1.242 GB, free: 3.59 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-05/0.6035, allocations: 58.89 kB / 1.242 GB, free: 3.535 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.29e-05/0.6036, allocations: 93.91 kB / 1.242 GB, free: 3.445 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/0.6054, allocations: 1.362 MB / 1.244 GB, free: 2.078 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0053/0.6107, allocations: 7.11 MB / 1.25 GB, free: 10.78 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.6123, allocations: 1.138 MB / 1.252 GB, free: 9.59 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005968/0.6129, allocations: 444 kB / 1.252 GB, free: 9.141 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 5.892e-05/0.613, allocations: 39.91 kB / 1.252 GB, free: 9.102 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.613, allocations: 42.56 kB / 1.252 GB, free: 9.051 MB / 1.089 GB Notification: Performance of pre-optimization done (n=50): time 2.765e-06/0.613, allocations: 0 / 1.252 GB, free: 9.051 MB / 1.089 GB Notification: Performance of matching and sorting (n=50): time 0.002041/0.615, allocations: 1.426 MB / 1.253 GB, free: 7.617 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.6151, allocations: 170.1 kB / 1.254 GB, free: 7.414 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003413/0.6185, allocations: 4.722 MB / 1.258 GB, free: 2.668 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 4.198e-05/0.6186, allocations: 29.7 kB / 1.258 GB, free: 2.633 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005657/0.6191, allocations: 1.091 MB / 1.259 GB, free: 1.535 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.6192, allocations: 186.3 kB / 1.26 GB, free: 1.352 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.6194, allocations: 102.1 kB / 1.26 GB, free: 1.246 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 7.497e-05/0.6194, allocations: 330 kB / 1.26 GB, free: 0.918 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005499/0.62, allocations: 372.7 kB / 1.26 GB, free: 0.5508 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006083/0.6206, allocations: 0.5132 MB / 1.261 GB, free: 16 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.6218, allocations: 0.8264 MB / 1.262 GB, free: 15.14 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.6218, allocations: 0.75 kB / 1.262 GB, free: 15.14 MB / 1.104 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001413/0.6232, allocations: 1.113 MB / 1.263 GB, free: 14.02 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.6232, allocations: 9.094 kB / 1.263 GB, free: 14.01 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.6232, allocations: 0 / 1.263 GB, free: 14.01 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.6232, allocations: 8 kB / 1.263 GB, free: 14 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004313/0.6237, allocations: 155.7 kB / 1.263 GB, free: 13.85 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.6237, allocations: 7.984 kB / 1.263 GB, free: 13.84 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005911/0.6243, allocations: 150 kB / 1.263 GB, free: 13.7 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.563e-05/0.6243, allocations: 23.98 kB / 1.263 GB, free: 13.67 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (58): * Single equations (assignments): 58 * 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.000522/0.6248, allocations: 0.5443 MB / 1.264 GB, free: 13.12 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.6251, allocations: 246.4 kB / 1.264 GB, free: 12.88 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/0.6265, allocations: 1.08 MB / 1.265 GB, free: 11.79 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.6265, allocations: 15.88 kB / 1.265 GB, free: 11.77 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6265, allocations: 0 / 1.265 GB, free: 11.77 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.6265, allocations: 7.984 kB / 1.265 GB, free: 11.77 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001994/0.6285, allocations: 2.073 MB / 1.267 GB, free: 9.613 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6285, allocations: 3.625 kB / 1.267 GB, free: 9.613 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004388/0.6289, allocations: 147.7 kB / 1.267 GB, free: 9.469 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.6289, allocations: 4 kB / 1.267 GB, free: 9.465 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/0.629, allocations: 23.92 kB / 1.267 GB, free: 9.441 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.629, allocations: 4 kB / 1.267 GB, free: 9.438 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.629, allocations: 0 / 1.267 GB, free: 9.438 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/0.6312, allocations: 1.776 MB / 1.269 GB, free: 7.629 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000557/0.6317, allocations: 378.1 kB / 1.269 GB, free: 7.258 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001586/0.6319, allocations: 15.98 kB / 1.269 GB, free: 7.242 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005422/0.6324, allocations: 55.94 kB / 1.269 GB, free: 7.188 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.6325, allocations: 43.86 kB / 1.269 GB, free: 7.145 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.6326, allocations: 19.98 kB / 1.269 GB, free: 7.125 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.002604/0.6352, allocations: 3.53 MB / 1.273 GB, free: 3.59 MB / 1.104 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6352, allocations: 4 kB / 1.273 GB, free: 3.586 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.0009084/0.6361, allocations: 0.4914 MB / 1.273 GB, free: 3.094 MB / 1.104 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (ela.mExc,ori.mExc,pow_1dat.mExc,pow_2dat.mExc,pow_m_flow.mExc,pow_V_flow.mExc,tabDat_m_flow.mExc,tabDat_V_flow.mExc) * 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 (50): * Single equations (assignments): 50 * 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.003214/0.6393, allocations: 2.755 MB / 1.276 GB, free: 464 kB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.6405, allocations: 0.8268 MB / 1.277 GB, free: 15.63 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6405, allocations: 0 / 1.277 GB, free: 15.63 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.0006065/0.6411, allocations: 428.3 kB / 1.277 GB, free: 15.21 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/0.6432, allocations: 0.8781 MB / 1.278 GB, free: 14.34 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01765/0.6609, allocations: 20.41 MB / 1.298 GB, free: 9.66 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006694/0.6615, allocations: 1.059 MB / 1.299 GB, free: 8.562 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.001051/0.6626, allocations: 0.553 MB / 1.3 GB, free: 8.008 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007821/0.6634, allocations: 0.9377 MB / 1.3 GB, free: 7.07 MB / 1.135 GB Notification: Performance of SimCode: time 1.282e-06/0.6634, allocations: 4 kB / 1.3 GB, free: 7.066 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06103/0.7244, allocations: 54.3 MB / 1.353 GB, free: 1.633 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.614/9.338, allocations: 0 / 1.353 GB, free: 1.633 MB / 1.182 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow_fmu --startTime=0 --stopTime=500 --stepSize=1 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_OneWayFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.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: 13.19460439030081]