Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.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.001323/0.001323, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001523/0.001523, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.419/1.419, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.613/2.613, allocations: 476.7 MB / 0.7678 GB, free: 9.305 MB / 0.6075 GB " [Timeout remaining time 177] 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.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",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.001874/0.001874, allocations: 63.91 kB / 1.113 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8818/0.8837, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2295/1.113, allocations: 182.8 MB / 1.458 GB, free: 5.023 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01764/1.131, allocations: 11.04 MB / 1.468 GB, free: 9.953 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003204/1.134, allocations: 127 kB / 1.468 GB, free: 9.828 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.005649/1.14, allocations: 2.024 MB / 1.47 GB, free: 7.793 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005059/1.145, allocations: 1.667 MB / 1.472 GB, free: 6.117 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002462/1.147, allocations: 0.7999 MB / 1.473 GB, free: 5.32 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005328/1.153, allocations: 3.133 MB / 1.476 GB, free: 2.176 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00204/1.155, allocations: 1.043 MB / 1.477 GB, free: 1.102 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002526/1.157, allocations: 1.202 MB / 1.478 GB, free: 15.89 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002667/1.16, allocations: 1.136 MB / 1.479 GB, free: 14.76 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0004814/1.16, allocations: 128 kB / 1.479 GB, free: 14.63 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002431/1.163, allocations: 0.9744 MB / 1.48 GB, free: 13.66 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0007932/1.163, allocations: 497.9 kB / 1.481 GB, free: 13.17 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001453/1.165, allocations: 1.088 MB / 1.482 GB, free: 12.07 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004705/1.17, allocations: 3.506 MB / 1.485 GB, free: 8.555 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.17, allocations: 0 / 1.485 GB, free: 8.555 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.453e-06/1.17, allocations: 3.938 kB / 1.485 GB, free: 8.551 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.567e-05/1.17, allocations: 4 kB / 1.485 GB, free: 8.547 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.004083/1.174, allocations: 2.898 MB / 1.488 GB, free: 5.582 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/1.174, allocations: 12.03 kB / 1.488 GB, free: 5.57 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.655e-05/1.174, allocations: 18 kB / 1.488 GB, free: 5.555 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001531/1.174, allocations: 122.7 kB / 1.488 GB, free: 5.426 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/1.175, allocations: 398 kB / 1.489 GB, free: 5.035 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003114/1.179, allocations: 2.035 MB / 1.491 GB, free: 2.934 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.246e-05/1.179, allocations: 58 kB / 1.491 GB, free: 2.879 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/1.179, allocations: 76 kB / 1.491 GB, free: 2.805 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/1.18, allocations: 0.9407 MB / 1.492 GB, free: 1.82 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/1.18, allocations: 15.89 kB / 1.492 GB, free: 1.805 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.505e-05/1.18, allocations: 31.94 kB / 1.492 GB, free: 1.773 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-05/1.18, allocations: 25 kB / 1.492 GB, free: 1.746 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/1.181, allocations: 0.6986 MB / 1.492 GB, free: 1.051 MB / 1.17 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.005793/1.187, allocations: 4.457 MB / 1.497 GB, free: 12.38 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005021/1.188, allocations: 302.6 kB / 1.497 GB, free: 12.07 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/1.188, allocations: 168.8 kB / 1.497 GB, free: 11.91 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002072/1.188, allocations: 101.1 kB / 1.497 GB, free: 11.79 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/1.188, allocations: 34.56 kB / 1.497 GB, free: 11.74 MB / 1.186 GB Notification: Performance of pre-optimization done (n=30): time 1.824e-06/1.188, allocations: 0 / 1.497 GB, free: 11.74 MB / 1.186 GB Notification: Performance of matching and sorting (n=32): time 0.003075/1.191, allocations: 1.751 MB / 1.499 GB, free: 9.906 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/1.191, allocations: 51.41 kB / 1.499 GB, free: 9.844 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003786/1.195, allocations: 2.945 MB / 1.502 GB, free: 6.883 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.84e-05/1.195, allocations: 33.7 kB / 1.502 GB, free: 6.844 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001028/1.196, allocations: 1.075 MB / 1.503 GB, free: 5.766 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/1.196, allocations: 123 kB / 1.503 GB, free: 5.645 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/1.197, allocations: 110.1 kB / 1.503 GB, free: 5.531 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001524/1.197, allocations: 329.9 kB / 1.504 GB, free: 5.203 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/1.197, allocations: 165 kB / 1.504 GB, free: 5.043 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00044/1.197, allocations: 374.2 kB / 1.504 GB, free: 4.59 MB / 1.186 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: air.vol.dynBal.medium.p = air.vol.dynBal.p_start (boundary.p = air.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00218/1.2, allocations: 1.079 MB / 1.505 GB, free: 3.406 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.2, allocations: 0 / 1.505 GB, free: 3.406 MB / 1.186 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001217/1.201, allocations: 0.8024 MB / 1.506 GB, free: 2.594 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.201, allocations: 13.91 kB / 1.506 GB, free: 2.582 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/1.201, allocations: 8 kB / 1.506 GB, free: 2.574 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001992/1.201, allocations: 64.77 kB / 1.506 GB, free: 2.508 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/1.201, allocations: 99.83 kB / 1.506 GB, free: 2.41 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/1.203, allocations: 1.861 MB / 1.508 GB, free: 424 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007754/1.204, allocations: 31.88 kB / 1.508 GB, free: 392 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.02e-05/1.204, allocations: 24 kB / 1.508 GB, free: 368 kB / 1.186 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: air.vol.dynBal.medium.p = air.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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): 57 * 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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001095/1.205, allocations: 0.8011 MB / 1.509 GB, free: 15.55 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002752/1.205, allocations: 246.4 kB / 1.509 GB, free: 15.31 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003607/1.206, allocations: 255.7 kB / 1.509 GB, free: 15.05 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/1.206, allocations: 4 kB / 1.509 GB, free: 15.05 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/1.206, allocations: 0 / 1.509 GB, free: 15.05 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007454/1.207, allocations: 0.597 MB / 1.51 GB, free: 14.38 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003091/1.21, allocations: 2.048 MB / 1.512 GB, free: 12.23 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/1.21, allocations: 4 kB / 1.512 GB, free: 12.22 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/1.21, allocations: 59.91 kB / 1.512 GB, free: 12.16 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001616/1.21, allocations: 61.22 kB / 1.512 GB, free: 12.1 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/1.21, allocations: 12 kB / 1.512 GB, free: 12.09 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/1.212, allocations: 1.861 MB / 1.514 GB, free: 10.09 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/1.212, allocations: 7.938 kB / 1.514 GB, free: 10.08 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/1.213, allocations: 0.9437 MB / 1.515 GB, free: 9.078 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006048/1.214, allocations: 415.4 kB / 1.515 GB, free: 8.652 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/1.214, allocations: 16 kB / 1.515 GB, free: 8.637 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005519/1.214, allocations: 19.92 kB / 1.515 GB, free: 8.617 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/1.214, allocations: 27.91 kB / 1.515 GB, free: 8.59 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/1.214, allocations: 20.06 kB / 1.515 GB, free: 8.57 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.00283/1.217, allocations: 2.079 MB / 1.517 GB, free: 6.488 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/1.217, allocations: 4 kB / 1.517 GB, free: 6.484 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009849/1.218, allocations: 300 kB / 1.517 GB, free: 6.191 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (air.vol.dynBal.medium.Xi[1],air.vol.dynBal.U) * 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 (29): * Single equations (assignments): 28 * 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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001739/1.22, allocations: 1.552 MB / 1.519 GB, free: 4.57 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0009416/1.221, allocations: 0.5108 MB / 1.519 GB, free: 4.047 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/1.221, allocations: 4 kB / 1.519 GB, free: 4.043 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003901/1.221, allocations: 287.7 kB / 1.52 GB, free: 3.75 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003345/1.225, allocations: 0.9446 MB / 1.521 GB, free: 2.832 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02339/1.248, allocations: 17.15 MB / 1.537 GB, free: 1.254 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001706/1.25, allocations: 1.957 MB / 1.539 GB, free: 15.26 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001036/1.251, allocations: 342.8 kB / 1.54 GB, free: 14.92 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009679/1.252, allocations: 0.8 MB / 1.54 GB, free: 14.12 MB / 1.232 GB Notification: Performance of SimCode: time 7.11e-07/1.252, allocations: 0 / 1.54 GB, free: 14.12 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09686/1.349, allocations: 51.43 MB / 1.591 GB, free: 11.4 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.04/15.39, allocations: 5.609 kB / 1.591 GB, free: 11.4 MB / 1.279 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.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: 21.640547479037195]