Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001945/0.001945, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002417/0.002417, allocations: 222.5 kB / 23.03 MB, free: 4.945 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.873/2.873, allocations: 476.8 MB / 0.7715 GB, free: 3.895 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Examples.OneRoom,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="cs",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.002072/0.002072, allocations: 70.52 kB / 1.118 GB, free: 39.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3687, allocations: 169.9 MB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.246/0.6146, allocations: 189.2 MB / 1.469 GB, free: 12.77 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01477/0.6294, allocations: 9.444 MB / 1.478 GB, free: 3.305 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001435/0.6308, allocations: 51.56 kB / 1.478 GB, free: 3.254 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002228/0.6331, allocations: 0.7964 MB / 1.479 GB, free: 2.453 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00808/0.6411, allocations: 3.026 MB / 1.482 GB, free: 15.41 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004178/0.6453, allocations: 1.449 MB / 1.483 GB, free: 13.96 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.006254/0.6516, allocations: 3.244 MB / 1.486 GB, free: 10.71 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001708/0.6533, allocations: 0.7805 MB / 1.487 GB, free: 9.914 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002471/0.6558, allocations: 1.187 MB / 1.488 GB, free: 8.723 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002478/0.6582, allocations: 1.154 MB / 1.489 GB, free: 7.574 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002119/0.6584, allocations: 124 kB / 1.49 GB, free: 7.453 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005319/0.6638, allocations: 2.271 MB / 1.492 GB, free: 5.176 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000723/0.6645, allocations: 0.5062 MB / 1.492 GB, free: 4.668 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0009743/0.6655, allocations: 0.6031 MB / 1.493 GB, free: 4.062 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005755/0.6712, allocations: 2.741 MB / 1.496 GB, free: 1.312 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.6712, allocations: 0 / 1.496 GB, free: 1.312 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6712, allocations: 0 / 1.496 GB, free: 1.312 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.329e-05/0.6712, allocations: 0 / 1.496 GB, free: 1.312 MB / 1.186 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.004567/0.6758, allocations: 1.76 MB / 1.497 GB, free: 15.51 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.6759, allocations: 8.031 kB / 1.497 GB, free: 15.5 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.612e-05/0.6759, allocations: 26 kB / 1.497 GB, free: 15.48 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00019/0.6761, allocations: 148.1 kB / 1.497 GB, free: 15.33 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003124/0.6792, allocations: 446.6 kB / 1.498 GB, free: 14.89 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/0.6809, allocations: 0.8149 MB / 1.499 GB, free: 14.04 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.094e-05/0.6809, allocations: 69.98 kB / 1.499 GB, free: 13.97 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/0.6811, allocations: 99.95 kB / 1.499 GB, free: 13.88 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002287/0.6834, allocations: 1.399 MB / 1.5 GB, free: 12.39 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.238e-05/0.6834, allocations: 3.938 kB / 1.5 GB, free: 12.39 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.6835, allocations: 44 kB / 1.5 GB, free: 12.35 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-05/0.6836, allocations: 65.91 kB / 1.5 GB, free: 12.28 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/0.6856, allocations: 1.066 MB / 1.501 GB, free: 11.21 MB / 1.201 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.005382/0.691, allocations: 3.142 MB / 1.504 GB, free: 7.992 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.6925, allocations: 0.7954 MB / 1.505 GB, free: 7.191 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.6936, allocations: 0.5636 MB / 1.506 GB, free: 6.629 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004054/0.694, allocations: 76.59 kB / 1.506 GB, free: 6.555 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.694, allocations: 47.22 kB / 1.506 GB, free: 6.5 MB / 1.201 GB Notification: Performance of pre-optimization done (n=82): time 3.667e-06/0.694, allocations: 0 / 1.506 GB, free: 6.5 MB / 1.201 GB Notification: Performance of matching and sorting (n=83): time 0.004759/0.6988, allocations: 2.25 MB / 1.508 GB, free: 4.215 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.6988, allocations: 60.41 kB / 1.508 GB, free: 4.145 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008958/0.6997, allocations: 0.6372 MB / 1.509 GB, free: 3.504 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.687e-05/0.6998, allocations: 41.7 kB / 1.509 GB, free: 3.457 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000414/0.7002, allocations: 464.9 kB / 1.509 GB, free: 2.996 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003058/0.7005, allocations: 313.2 kB / 1.51 GB, free: 2.688 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/0.7008, allocations: 134.6 kB / 1.51 GB, free: 2.551 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002246/0.701, allocations: 394.7 kB / 1.51 GB, free: 2.156 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005775/0.7016, allocations: 325.8 kB / 1.51 GB, free: 1.836 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006671/0.7022, allocations: 426.5 kB / 1.511 GB, free: 1.395 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.7035, allocations: 0.7768 MB / 1.512 GB, free: 0.5898 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.7035, allocations: 0 / 1.512 GB, free: 0.5898 MB / 1.201 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001763/0.7053, allocations: 0.9508 MB / 1.512 GB, free: 15.62 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.7053, allocations: 7.938 kB / 1.512 GB, free: 15.62 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.7053, allocations: 4 kB / 1.512 GB, free: 15.61 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003418/0.7057, allocations: 60.77 kB / 1.513 GB, free: 15.55 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007553/0.7064, allocations: 164 kB / 1.513 GB, free: 15.39 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006065/0.707, allocations: 0.6109 MB / 1.513 GB, free: 14.75 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008582/0.7079, allocations: 23.98 kB / 1.513 GB, free: 14.73 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.544e-05/0.708, allocations: 28 kB / 1.513 GB, free: 14.7 MB / 1.217 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.0005515/0.7085, allocations: 301.6 kB / 1.514 GB, free: 14.4 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.7087, allocations: 91.44 kB / 1.514 GB, free: 14.31 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/0.7104, allocations: 0.9285 MB / 1.515 GB, free: 13.37 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.7104, allocations: 15.98 kB / 1.515 GB, free: 13.35 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.7104, allocations: 0 / 1.515 GB, free: 13.35 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001367/0.7118, allocations: 0.9232 MB / 1.516 GB, free: 12.38 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003564/0.7154, allocations: 1.922 MB / 1.517 GB, free: 10.41 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.7154, allocations: 0 / 1.517 GB, free: 10.41 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.7164, allocations: 191.8 kB / 1.518 GB, free: 10.23 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-05/0.7164, allocations: 7.938 kB / 1.518 GB, free: 10.22 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.723e-05/0.7165, allocations: 16 kB / 1.518 GB, free: 10.2 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/0.7165, allocations: 4.062 kB / 1.518 GB, free: 10.2 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.7165, allocations: 4 kB / 1.518 GB, free: 10.2 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002327/0.7188, allocations: 1.404 MB / 1.519 GB, free: 8.773 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005209/0.7194, allocations: 175.3 kB / 1.519 GB, free: 8.602 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/0.7195, allocations: 16 kB / 1.519 GB, free: 8.586 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007908/0.7203, allocations: 26.98 kB / 1.519 GB, free: 8.562 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.7205, allocations: 60.89 kB / 1.519 GB, free: 8.504 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.617e-05/0.7205, allocations: 23.98 kB / 1.519 GB, free: 8.48 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006842/0.7212, allocations: 455 kB / 1.52 GB, free: 8.043 MB / 1.217 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7212, allocations: 4 kB / 1.52 GB, free: 8.039 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001104/0.7223, allocations: 323.8 kB / 1.52 GB, free: 7.723 MB / 1.217 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.00308/0.7254, allocations: 2.042 MB / 1.522 GB, free: 5.648 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001629/0.727, allocations: 0.7703 MB / 1.523 GB, free: 4.883 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.727, allocations: 8.062 kB / 1.523 GB, free: 4.875 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0007169/0.7278, allocations: 413.6 kB / 1.523 GB, free: 4.473 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002756/0.7305, allocations: 0.5801 MB / 1.524 GB, free: 3.902 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/0.7437, allocations: 7.561 MB / 1.531 GB, free: 12.16 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006114/0.7443, allocations: 0.532 MB / 1.532 GB, free: 11.6 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001036/0.7454, allocations: 251.8 kB / 1.532 GB, free: 11.35 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006123/0.746, allocations: 387.3 kB / 1.532 GB, free: 10.97 MB / 1.232 GB Notification: Performance of SimCode: time 1.343e-06/0.746, allocations: 0 / 1.532 GB, free: 10.97 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07199/0.818, allocations: 30.61 MB / 1.562 GB, free: 13.07 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.52/16.34, allocations: 11.25 kB / 1.562 GB, free: 13.06 MB / 1.264 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 23.479620658094063]