Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.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.0008295/0.0008295, 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.0008424/0.0008424, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8649/0.8649, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.737/1.737, allocations: 389 MB / 0.633 GB, free: 12.68 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.OpenDoorBuoyancyDynamic,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.432e-05/1.605e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic): time 0.6086/0.6086, allocations: 217.8 MB / 1.212 GB, free: 8.797 MB / 1.057 GB Notification: Performance of NFInst.instExpressions: time 0.01525/0.6238, allocations: 13.59 MB / 1.226 GB, free: 14.57 MB / 1.073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001859/0.6257, allocations: 100.2 kB / 1.226 GB, free: 14.52 MB / 1.073 GB Notification: Performance of NFTyping.typeComponents: time 0.002251/0.6279, allocations: 1.216 MB / 1.227 GB, free: 13.54 MB / 1.073 GB Notification: Performance of NFTyping.typeBindings: time 0.008289/0.6362, allocations: 4.999 MB / 1.232 GB, free: 9.703 MB / 1.073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003459/0.6397, allocations: 1.989 MB / 1.234 GB, free: 8.176 MB / 1.073 GB Notification: Performance of NFFlatten.flatten: time 0.005408/0.6451, allocations: 6.424 MB / 1.24 GB, free: 4.375 MB / 1.073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001802/0.6469, allocations: 1.486 MB / 1.241 GB, free: 3.305 MB / 1.073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004097/0.651, allocations: 3.427 MB / 1.245 GB, free: 1.074 MB / 1.073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002234/0.6532, allocations: 1.911 MB / 1.247 GB, free: 15.17 MB / 1.089 GB Notification: Performance of NFPackage.collectConstants: time 0.0003061/0.6535, allocations: 251 kB / 1.247 GB, free: 14.93 MB / 1.089 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005061/0.6586, allocations: 3.762 MB / 1.251 GB, free: 11.16 MB / 1.089 GB Notification: Performance of NFScalarize.scalarize: time 0.0006815/0.6593, allocations: 1.122 MB / 1.252 GB, free: 10.03 MB / 1.089 GB Notification: Performance of NFVerifyModel.verify: time 0.000859/0.6601, allocations: 1.049 MB / 1.253 GB, free: 8.98 MB / 1.089 GB Notification: Performance of NFConvertDAE.convert: time 0.005164/0.6653, allocations: 5.411 MB / 1.258 GB, free: 3.555 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.6653, allocations: 0 / 1.258 GB, free: 3.555 MB / 1.089 GB Notification: Performance of FrontEnd: time 1.522e-06/0.6653, allocations: 0 / 1.258 GB, free: 3.555 MB / 1.089 GB Notification: Performance of Transformations before backend: time 2.314e-05/0.6653, allocations: 0 / 1.258 GB, free: 3.555 MB / 1.089 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 515 * Number of variables: 515 Notification: Performance of Generate backend data structure: time 0.003715/0.669, allocations: 3.147 MB / 1.261 GB, free: 368 kB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.6691, allocations: 12.75 kB / 1.261 GB, free: 356 kB / 1.089 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002766/0.6694, allocations: 291.1 kB / 1.261 GB, free: 56 kB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00378/0.6731, allocations: 1.104 MB / 1.262 GB, free: 14.95 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001908/0.675, allocations: 1.564 MB / 1.264 GB, free: 13.33 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.537e-05/0.6751, allocations: 151.8 kB / 1.264 GB, free: 13.18 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002439/0.6754, allocations: 199.9 kB / 1.264 GB, free: 12.99 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00326/0.6786, allocations: 3.195 MB / 1.267 GB, free: 9.641 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/0.6787, allocations: 0 / 1.267 GB, free: 9.641 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/0.6788, allocations: 80 kB / 1.267 GB, free: 9.562 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.867e-05/0.6789, allocations: 112.4 kB / 1.268 GB, free: 9.449 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003544/0.6825, allocations: 3.148 MB / 1.271 GB, free: 6.297 MB / 1.104 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00736/0.6898, allocations: 6.148 MB / 1.277 GB, free: 84 kB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002942/0.6928, allocations: 2.667 MB / 1.279 GB, free: 13.38 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001568/0.6943, allocations: 1.452 MB / 1.281 GB, free: 11.91 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001941/0.6945, allocations: 73.92 kB / 1.281 GB, free: 11.84 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.6946, allocations: 68.47 kB / 1.281 GB, free: 11.77 MB / 1.12 GB Notification: Performance of pre-optimization done (n=222): time 4.208e-06/0.6946, allocations: 3.938 kB / 1.281 GB, free: 11.76 MB / 1.12 GB Notification: Performance of matching and sorting (n=226): time 0.00952/0.7041, allocations: 7.77 MB / 1.288 GB, free: 3.93 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.7041, allocations: 150.5 kB / 1.289 GB, free: 3.754 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.7052, allocations: 1.248 MB / 1.29 GB, free: 2.492 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.7053, allocations: 61.7 kB / 1.29 GB, free: 2.426 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/0.7057, allocations: 0.816 MB / 1.291 GB, free: 1.602 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004462/0.7061, allocations: 0.7939 MB / 1.291 GB, free: 0.8008 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004331/0.7066, allocations: 395.9 kB / 1.292 GB, free: 416 kB / 1.12 GB Notification: Performance of setup shared object (initialization): time 6.142e-05/0.7066, allocations: 301.1 kB / 1.292 GB, free: 112 kB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/0.7079, allocations: 1.128 MB / 1.293 GB, free: 14.98 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/0.7094, allocations: 1.508 MB / 1.295 GB, free: 13.37 MB / 1.135 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bouA.dynBal.medium.p = bouA.dynBal.p_start (bou.p = bouA.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bouADis.dynBal.medium.p = bouADis.dynBal.p_start (bou1.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01196/0.7214, allocations: 7.651 MB / 1.302 GB, free: 5.656 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.7214, allocations: 4 kB / 1.302 GB, free: 5.652 MB / 1.135 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.003803/0.7252, allocations: 2.968 MB / 1.305 GB, free: 2.676 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.7252, allocations: 15.88 kB / 1.305 GB, free: 2.66 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.7253, allocations: 4 kB / 1.305 GB, free: 2.656 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.7253, allocations: 16 kB / 1.305 GB, free: 2.641 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.7266, allocations: 0.5072 MB / 1.306 GB, free: 2.133 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.7266, allocations: 15.94 kB / 1.306 GB, free: 2.117 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.7278, allocations: 115.8 kB / 1.306 GB, free: 2.004 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/0.7279, allocations: 83.97 kB / 1.306 GB, free: 1.922 MB / 1.135 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: bouA.dynBal.medium.p = bouA.dynBal.p_start bouADis.dynBal.medium.p = bouADis.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (275): * Single equations (assignments): 275 * 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.0008784/0.7288, allocations: 0.5676 MB / 1.306 GB, free: 1.344 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002845/0.7291, allocations: 210.7 kB / 1.307 GB, free: 1.137 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.7304, allocations: 1.061 MB / 1.308 GB, free: 64 kB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.7304, allocations: 20 kB / 1.308 GB, free: 44 kB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.7304, allocations: 5.438 kB / 1.308 GB, free: 40 kB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002974/0.7334, allocations: 2.519 MB / 1.31 GB, free: 13.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006443/0.7398, allocations: 5.577 MB / 1.315 GB, free: 7.793 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.7398, allocations: 4 kB / 1.315 GB, free: 7.789 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001339/0.7412, allocations: 0.5157 MB / 1.316 GB, free: 7.273 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.398e-05/0.7412, allocations: 12 kB / 1.316 GB, free: 7.262 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.7413, allocations: 63.97 kB / 1.316 GB, free: 7.199 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.218e-05/0.7413, allocations: 16 kB / 1.316 GB, free: 7.184 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.7413, allocations: 11.94 kB / 1.316 GB, free: 7.172 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005038/0.7463, allocations: 4.82 MB / 1.321 GB, free: 2.254 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007673/0.7471, allocations: 478.3 kB / 1.321 GB, free: 1.785 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/0.7473, allocations: 52.48 kB / 1.321 GB, free: 1.734 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009942/0.7483, allocations: 110.1 kB / 1.321 GB, free: 1.633 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/0.7485, allocations: 161.5 kB / 1.322 GB, free: 1.477 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.7486, allocations: 87.89 kB / 1.322 GB, free: 1.391 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007725/0.7494, allocations: 0.8356 MB / 1.322 GB, free: 0.5547 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7494, allocations: 4 kB / 1.322 GB, free: 0.5508 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001353/0.7507, allocations: 0.7187 MB / 1.323 GB, free: 15.83 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (bouADis.dynBal.medium.Xi[1],bouADis.dynBal.U,bouBDis.dynBal.medium.Xi[1],bouBDis.dynBal.U,bouBDis.dynBal.m,bouA.dynBal.medium.Xi[1],bouA.dynBal.U,bouB.dynBal.medium.Xi[1],bouB.dynBal.U,bouB.dynBal.m,dooDis.mExcBA,dooDis.mExcAB) * 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 (230): * Single equations (assignments): 230 * 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.005563/0.7563, allocations: 5.566 MB / 1.329 GB, free: 10.18 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003236/0.7595, allocations: 2.606 MB / 1.331 GB, free: 7.559 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.7595, allocations: 0 / 1.331 GB, free: 7.559 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001401/0.7609, allocations: 1.313 MB / 1.332 GB, free: 6.246 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/0.7638, allocations: 1.172 MB / 1.334 GB, free: 5.098 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01898/0.7828, allocations: 18.17 MB / 1.351 GB, free: 2.375 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009681/0.7838, allocations: 1.07 MB / 1.352 GB, free: 1.266 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.001833/0.7856, allocations: 0.8293 MB / 1.353 GB, free: 444 kB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001016/0.7866, allocations: 0.844 MB / 1.354 GB, free: 15.59 MB / 1.198 GB Notification: Performance of SimCode: time 1.463e-06/0.7866, allocations: 0 / 1.354 GB, free: 15.59 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06736/0.854, allocations: 64.6 MB / 1.417 GB, free: 15.98 MB / 1.26 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.415/9.269, allocations: 2.656 kB / 1.417 GB, free: 15.98 MB / 1.26 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic_fmu --startTime=0 --stopTime=14400 --stepSize=5.76 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.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.275221661664546]