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.001789/0.001789, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.00237/0.00237, allocations: 220.3 kB / 23.05 MB, free: 5.074 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.36/1.36, allocations: 230.6 MB / 256.8 MB, free: 8 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.612/2.612, allocations: 476.7 MB / 0.7715 GB, free: 4.285 MB / 0.6231 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.001935/0.001935, allocations: 58.28 kB / 1.118 GB, free: 39.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3141, allocations: 170 MB / 1.284 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.203/0.5171, allocations: 183 MB / 1.463 GB, free: 3.641 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01685/0.534, allocations: 11.07 MB / 1.474 GB, free: 8.543 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002954/0.5369, allocations: 127 kB / 1.474 GB, free: 8.418 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005572/0.5425, allocations: 2.056 MB / 1.476 GB, free: 6.352 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004754/0.5473, allocations: 1.694 MB / 1.478 GB, free: 4.648 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002358/0.5496, allocations: 0.8265 MB / 1.478 GB, free: 3.824 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004652/0.5543, allocations: 3.193 MB / 1.481 GB, free: 0.6172 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/0.5556, allocations: 0.8289 MB / 1.482 GB, free: 15.75 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001959/0.5576, allocations: 1.182 MB / 1.483 GB, free: 14.57 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002252/0.5598, allocations: 1.156 MB / 1.485 GB, free: 13.41 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002587/0.5601, allocations: 128 kB / 1.485 GB, free: 13.29 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002022/0.5621, allocations: 0.99 MB / 1.486 GB, free: 12.29 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005034/0.5626, allocations: 493.9 kB / 1.486 GB, free: 11.81 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001187/0.5638, allocations: 1.091 MB / 1.487 GB, free: 10.71 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004457/0.5682, allocations: 3.51 MB / 1.491 GB, free: 7.188 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5682, allocations: 0 / 1.491 GB, free: 7.188 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5682, allocations: 0 / 1.491 GB, free: 7.188 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.641e-05/0.5683, allocations: 0 / 1.491 GB, free: 7.188 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.00422/0.5725, allocations: 2.826 MB / 1.493 GB, free: 4.312 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.5726, allocations: 12.03 kB / 1.493 GB, free: 4.301 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.239e-05/0.5726, allocations: 18 kB / 1.493 GB, free: 4.285 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001502/0.5727, allocations: 130.6 kB / 1.494 GB, free: 4.148 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/0.5742, allocations: 398 kB / 1.494 GB, free: 3.758 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003297/0.5775, allocations: 1.936 MB / 1.496 GB, free: 1.766 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.839e-05/0.5775, allocations: 58 kB / 1.496 GB, free: 1.711 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.5777, allocations: 83.95 kB / 1.496 GB, free: 1.629 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.5791, allocations: 0.9407 MB / 1.497 GB, free: 0.6445 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.5791, allocations: 0 / 1.497 GB, free: 0.6445 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.336e-05/0.5792, allocations: 35.94 kB / 1.497 GB, free: 0.6094 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.423e-05/0.5792, allocations: 25 kB / 1.497 GB, free: 0.5859 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.5803, allocations: 0.6986 MB / 1.498 GB, free: 15.89 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.005934/0.5863, allocations: 4.407 MB / 1.502 GB, free: 11.27 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004902/0.5868, allocations: 298.7 kB / 1.502 GB, free: 10.96 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.587, allocations: 176.8 kB / 1.502 GB, free: 10.79 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001365/0.5872, allocations: 23.92 kB / 1.502 GB, free: 10.77 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.5872, allocations: 38.5 kB / 1.502 GB, free: 10.72 MB / 1.201 GB Notification: Performance of pre-optimization done (n=30): time 1.974e-06/0.5872, allocations: 4 kB / 1.502 GB, free: 10.72 MB / 1.201 GB Notification: Performance of matching and sorting (n=32): time 0.003068/0.5903, allocations: 1.584 MB / 1.504 GB, free: 9.09 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.5903, allocations: 55.41 kB / 1.504 GB, free: 9.023 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003825/0.5941, allocations: 2.957 MB / 1.507 GB, free: 6.051 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.024e-05/0.5942, allocations: 33.7 kB / 1.507 GB, free: 6.012 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001006/0.5952, allocations: 1.071 MB / 1.508 GB, free: 4.938 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.5953, allocations: 118.9 kB / 1.508 GB, free: 4.82 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.5955, allocations: 114.2 kB / 1.508 GB, free: 4.703 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.5956, allocations: 325.9 kB / 1.509 GB, free: 4.379 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/0.5959, allocations: 169 kB / 1.509 GB, free: 4.215 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004261/0.5963, allocations: 374.3 kB / 1.509 GB, free: 3.762 MB / 1.201 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.002113/0.5984, allocations: 1.002 MB / 1.51 GB, free: 2.676 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.5984, allocations: 4 kB / 1.51 GB, free: 2.672 MB / 1.201 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001295/0.5997, allocations: 0.7974 MB / 1.511 GB, free: 1.863 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.5997, allocations: 8 kB / 1.511 GB, free: 1.855 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.5998, allocations: 8 kB / 1.511 GB, free: 1.848 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002037/0.6, allocations: 68.69 kB / 1.511 GB, free: 1.777 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003492/0.6003, allocations: 103.8 kB / 1.511 GB, free: 1.676 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.602, allocations: 1.758 MB / 1.513 GB, free: 15.81 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008683/0.6029, allocations: 35.94 kB / 1.513 GB, free: 15.77 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.411e-05/0.6029, allocations: 24 kB / 1.513 GB, free: 15.75 MB / 1.217 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.001123/0.604, allocations: 0.7901 MB / 1.514 GB, free: 14.95 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000284/0.6043, allocations: 246.3 kB / 1.514 GB, free: 14.71 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003605/0.6047, allocations: 255.7 kB / 1.514 GB, free: 14.45 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.6047, allocations: 4 kB / 1.514 GB, free: 14.45 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.6047, allocations: 0 / 1.514 GB, free: 14.45 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007095/0.6054, allocations: 0.597 MB / 1.515 GB, free: 13.78 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002911/0.6083, allocations: 2.018 MB / 1.517 GB, free: 11.66 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.914e-06/0.6083, allocations: 8 kB / 1.517 GB, free: 11.66 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003011/0.6086, allocations: 64.31 kB / 1.517 GB, free: 11.59 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001577/0.6088, allocations: 68.75 kB / 1.517 GB, free: 11.52 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.6088, allocations: 11.94 kB / 1.517 GB, free: 11.51 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001542/0.6103, allocations: 1.758 MB / 1.518 GB, free: 9.641 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.6103, allocations: 4 kB / 1.518 GB, free: 9.637 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.6115, allocations: 0.9396 MB / 1.519 GB, free: 8.637 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006806/0.6122, allocations: 347.5 kB / 1.52 GB, free: 8.293 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/0.6124, allocations: 12 kB / 1.52 GB, free: 8.281 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005458/0.6129, allocations: 18.56 kB / 1.52 GB, free: 8.266 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/0.613, allocations: 39.95 kB / 1.52 GB, free: 8.227 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.613, allocations: 12.12 kB / 1.52 GB, free: 8.215 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.00275/0.6157, allocations: 2.087 MB / 1.522 GB, free: 6.125 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.6157, allocations: 0 / 1.522 GB, free: 6.125 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009401/0.6167, allocations: 296 kB / 1.522 GB, free: 5.836 MB / 1.217 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.001666/0.6183, allocations: 1.552 MB / 1.524 GB, free: 4.219 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0009192/0.6193, allocations: 0.5103 MB / 1.524 GB, free: 3.695 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6193, allocations: 5.688 kB / 1.524 GB, free: 3.691 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003886/0.6197, allocations: 299.2 kB / 1.524 GB, free: 3.387 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003321/0.623, allocations: 0.941 MB / 1.525 GB, free: 2.469 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02346/0.6464, allocations: 17.16 MB / 1.542 GB, free: 0.8945 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001687/0.6481, allocations: 1.961 MB / 1.544 GB, free: 14.9 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001076/0.6492, allocations: 330.9 kB / 1.544 GB, free: 14.57 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009696/0.6502, allocations: 0.8038 MB / 1.545 GB, free: 13.77 MB / 1.248 GB Notification: Performance of SimCode: time 9.01e-07/0.6502, allocations: 0 / 1.545 GB, free: 13.77 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0969/0.7471, allocations: 51.8 MB / 1.596 GB, free: 10.63 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.89/15.64, allocations: 4.062 kB / 1.596 GB, free: 10.63 MB / 1.295 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: 22.82695805100957]