Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.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.001303/0.001303, 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.001441/0.001441, 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.8672/0.8672, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.709/1.709, 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.Examples.OneRoom,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.9996 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.49e-05/1.629e-05, allocations: 2.281 kB / 0.9996 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.5519/0.5519, allocations: 189.1 MB / 1.184 GB, free: 5.055 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.009328/0.5612, allocations: 9.608 MB / 1.194 GB, free: 11.42 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009061/0.5622, allocations: 55.56 kB / 1.194 GB, free: 11.37 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.5636, allocations: 0.7959 MB / 1.195 GB, free: 10.57 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.004491/0.568, allocations: 3.153 MB / 1.198 GB, free: 7.398 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002363/0.5704, allocations: 1.47 MB / 1.199 GB, free: 5.93 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.002535/0.5729, allocations: 3.305 MB / 1.202 GB, free: 2.617 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007619/0.5737, allocations: 0.7726 MB / 1.203 GB, free: 1.824 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001502/0.5752, allocations: 1.707 MB / 1.205 GB, free: 116 kB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001299/0.5765, allocations: 0.997 MB / 1.206 GB, free: 15.12 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.5766, allocations: 124 kB / 1.206 GB, free: 15 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003035/0.5797, allocations: 2.313 MB / 1.208 GB, free: 12.68 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.0003536/0.58, allocations: 0.5375 MB / 1.209 GB, free: 12.14 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.0004024/0.5804, allocations: 0.534 MB / 1.209 GB, free: 11.61 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.002491/0.5829, allocations: 2.883 MB / 1.212 GB, free: 8.715 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5829, allocations: 0 / 1.212 GB, free: 8.715 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5829, allocations: 0 / 1.212 GB, free: 8.715 MB / 1.057 GB Notification: Performance of Transformations before backend: time 1.244e-05/0.5829, allocations: 0 / 1.212 GB, free: 8.715 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.002396/0.5853, allocations: 1.76 MB / 1.214 GB, free: 6.918 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.5854, allocations: 8.75 kB / 1.214 GB, free: 6.91 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001467/0.5855, allocations: 156 kB / 1.214 GB, free: 6.75 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00202/0.5875, allocations: 0.5883 MB / 1.214 GB, free: 6.16 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.5886, allocations: 0.8343 MB / 1.215 GB, free: 5.297 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.13e-05/0.5886, allocations: 73.62 kB / 1.215 GB, free: 5.227 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.5887, allocations: 95.98 kB / 1.215 GB, free: 5.133 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.5902, allocations: 1.479 MB / 1.217 GB, free: 3.574 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.5902, allocations: 4 kB / 1.217 GB, free: 3.57 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.419e-05/0.5903, allocations: 43.98 kB / 1.217 GB, free: 3.527 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.452e-05/0.5903, allocations: 53.97 kB / 1.217 GB, free: 3.473 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.5917, allocations: 1.167 MB / 1.218 GB, free: 2.305 MB / 1.057 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.003109/0.5948, allocations: 3.254 MB / 1.221 GB, free: 14.97 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.596, allocations: 0.9121 MB / 1.222 GB, free: 14.05 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007286/0.5967, allocations: 0.6146 MB / 1.223 GB, free: 13.44 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.703e-05/0.5967, allocations: 12.66 kB / 1.223 GB, free: 13.43 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.5968, allocations: 43.22 kB / 1.223 GB, free: 13.38 MB / 1.073 GB Notification: Performance of pre-optimization done (n=82): time 2.285e-06/0.5968, allocations: 4 kB / 1.223 GB, free: 13.37 MB / 1.073 GB Notification: Performance of matching and sorting (n=83): time 0.003143/0.5999, allocations: 2.488 MB / 1.225 GB, free: 10.84 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.5999, allocations: 60.41 kB / 1.225 GB, free: 10.77 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005044/0.6004, allocations: 0.649 MB / 1.226 GB, free: 10.12 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 6.707e-05/0.6005, allocations: 41.7 kB / 1.226 GB, free: 10.07 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.6007, allocations: 464.9 kB / 1.226 GB, free: 9.613 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.6009, allocations: 305.3 kB / 1.227 GB, free: 9.312 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.601, allocations: 142.6 kB / 1.227 GB, free: 9.168 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 7.706e-05/0.6011, allocations: 337.9 kB / 1.227 GB, free: 8.832 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004481/0.6016, allocations: 377.8 kB / 1.227 GB, free: 8.461 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004873/0.6021, allocations: 478.5 kB / 1.228 GB, free: 7.969 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009478/0.603, allocations: 0.8782 MB / 1.229 GB, free: 7.062 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.603, allocations: 3.938 kB / 1.229 GB, free: 7.059 MB / 1.073 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002734/0.6057, allocations: 1.399 MB / 1.23 GB, free: 5.648 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.6058, allocations: 4 kB / 1.23 GB, free: 5.645 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.6058, allocations: 4 kB / 1.23 GB, free: 5.641 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005005/0.6063, allocations: 308.7 kB / 1.23 GB, free: 5.336 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/0.6066, allocations: 151.8 kB / 1.231 GB, free: 5.188 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004636/0.6113, allocations: 2.879 MB / 1.233 GB, free: 2.199 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004449/0.6117, allocations: 39.92 kB / 1.233 GB, free: 2.16 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.6117, allocations: 27.98 kB / 1.234 GB, free: 2.133 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003487/0.6121, allocations: 306.5 kB / 1.234 GB, free: 1.824 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.6122, allocations: 91.44 kB / 1.234 GB, free: 1.734 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.6123, allocations: 124.6 kB / 1.234 GB, free: 1.605 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.6123, allocations: 12 kB / 1.234 GB, free: 1.594 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.6123, allocations: 0 / 1.234 GB, free: 1.594 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001027/0.6133, allocations: 1.028 MB / 1.235 GB, free: 0.5195 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002179/0.6155, allocations: 2.075 MB / 1.237 GB, free: 14.4 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.666e-06/0.6155, allocations: 0 / 1.237 GB, free: 14.4 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005555/0.6161, allocations: 203.7 kB / 1.237 GB, free: 14.2 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.6161, allocations: 4 kB / 1.237 GB, free: 14.2 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.806e-05/0.6161, allocations: 19.98 kB / 1.237 GB, free: 14.18 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.6161, allocations: 4 kB / 1.237 GB, free: 14.17 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.6161, allocations: 7.938 kB / 1.237 GB, free: 14.16 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.6177, allocations: 1.564 MB / 1.239 GB, free: 12.58 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002683/0.618, allocations: 183.3 kB / 1.239 GB, free: 12.4 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.834e-05/0.6181, allocations: 20 kB / 1.239 GB, free: 12.38 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/0.6185, allocations: 35.97 kB / 1.239 GB, free: 12.35 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.398e-05/0.6185, allocations: 56.89 kB / 1.239 GB, free: 12.29 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.902e-05/0.6186, allocations: 27.98 kB / 1.239 GB, free: 12.27 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.000357/0.6189, allocations: 470.9 kB / 1.24 GB, free: 11.81 MB / 1.089 GB Notification: Performance of sort global known variables: time 8e-08/0.6189, allocations: 0 / 1.24 GB, free: 11.81 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.0006172/0.6196, allocations: 339.9 kB / 1.24 GB, free: 11.48 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (83): * Single equations (assignments): 83 * 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.001989/0.6215, allocations: 2.177 MB / 1.242 GB, free: 9.281 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.001276/0.6228, allocations: 1.003 MB / 1.243 GB, free: 8.262 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6228, allocations: 0 / 1.243 GB, free: 8.262 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.0005049/0.6233, allocations: 469.5 kB / 1.243 GB, free: 7.805 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.6247, allocations: 0.6031 MB / 1.244 GB, free: 7.223 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.6355, allocations: 8.518 MB / 1.252 GB, free: 14.52 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.6359, allocations: 0.5321 MB / 1.253 GB, free: 13.95 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.0006558/0.6366, allocations: 259.8 kB / 1.253 GB, free: 13.69 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004279/0.637, allocations: 392.4 kB / 1.253 GB, free: 13.31 MB / 1.104 GB Notification: Performance of SimCode: time 8.62e-07/0.637, allocations: 0 / 1.253 GB, free: 13.31 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04169/0.6787, allocations: 35.81 MB / 1.288 GB, free: 10.09 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.895/9.574, allocations: 3.938 kB / 1.288 GB, free: 10.09 MB / 1.135 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.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.51587057672441]