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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 110.3 kB / 18.13 MB, free: 3.828 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 197.2 kB / 21.42 MB, free: 0.5508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 225.6 MB / 250.2 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.569/2.569, allocations: 476.7 MB / 0.7637 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 63.89 kB / 1.108 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7961/0.798, allocations: 168.7 MB / 1.273 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1987/0.9967, allocations: 180.1 MB / 1.449 GB, free: 15.47 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01665/1.013, allocations: 11.04 MB / 1.46 GB, free: 4.402 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002904/1.016, allocations: 95.5 kB / 1.46 GB, free: 4.309 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.005552/1.022, allocations: 2.021 MB / 1.462 GB, free: 2.277 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004793/1.027, allocations: 1.678 MB / 1.463 GB, free: 0.5898 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002437/1.029, allocations: 0.826 MB / 1.464 GB, free: 15.76 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004607/1.034, allocations: 3.145 MB / 1.467 GB, free: 12.61 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001359/1.035, allocations: 0.8205 MB / 1.468 GB, free: 11.75 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001832/1.037, allocations: 1.167 MB / 1.469 GB, free: 10.58 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002165/1.039, allocations: 1.151 MB / 1.47 GB, free: 9.434 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000282/1.039, allocations: 124 kB / 1.47 GB, free: 9.312 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001948/1.041, allocations: 0.9666 MB / 1.471 GB, free: 8.344 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005021/1.042, allocations: 489.9 kB / 1.472 GB, free: 7.863 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001175/1.043, allocations: 1.095 MB / 1.473 GB, free: 6.762 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004471/1.047, allocations: 3.494 MB / 1.476 GB, free: 3.254 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.047, allocations: 0 / 1.476 GB, free: 3.254 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.624e-06/1.047, allocations: 4 kB / 1.476 GB, free: 3.25 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.647e-05/1.047, allocations: 0 / 1.476 GB, free: 3.25 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.004364/1.052, allocations: 2.894 MB / 1.479 GB, free: 296 kB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.052, allocations: 8.031 kB / 1.479 GB, free: 288 kB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00015/1.052, allocations: 122.7 kB / 1.479 GB, free: 156 kB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/1.053, allocations: 390 kB / 1.48 GB, free: 15.77 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003459/1.057, allocations: 2.043 MB / 1.482 GB, free: 13.66 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.928e-05/1.057, allocations: 58 kB / 1.482 GB, free: 13.61 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/1.057, allocations: 79.94 kB / 1.482 GB, free: 13.53 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/1.058, allocations: 0.9407 MB / 1.483 GB, free: 12.55 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/1.058, allocations: 3.938 kB / 1.483 GB, free: 12.54 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.375e-05/1.059, allocations: 39.98 kB / 1.483 GB, free: 12.5 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-05/1.059, allocations: 28.94 kB / 1.483 GB, free: 12.48 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/1.06, allocations: 0.6947 MB / 1.483 GB, free: 11.78 MB / 1.186 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.006053/1.066, allocations: 4.461 MB / 1.488 GB, free: 7.105 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004946/1.066, allocations: 298.6 kB / 1.488 GB, free: 6.805 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/1.066, allocations: 168.8 kB / 1.488 GB, free: 6.637 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001843/1.067, allocations: 101.1 kB / 1.488 GB, free: 6.52 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/1.067, allocations: 34.56 kB / 1.488 GB, free: 6.477 MB / 1.186 GB Notification: Performance of pre-optimization done (n=30): time 2.004e-06/1.067, allocations: 7.938 kB / 1.488 GB, free: 6.469 MB / 1.186 GB Notification: Performance of matching and sorting (n=32): time 0.003127/1.07, allocations: 1.738 MB / 1.49 GB, free: 4.648 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/1.07, allocations: 59.39 kB / 1.49 GB, free: 4.578 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003778/1.074, allocations: 2.945 MB / 1.493 GB, free: 1.617 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.086e-05/1.074, allocations: 33.7 kB / 1.493 GB, free: 1.578 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001008/1.075, allocations: 1.067 MB / 1.494 GB, free: 0.5039 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/1.075, allocations: 122.9 kB / 1.494 GB, free: 392 kB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/1.075, allocations: 114.2 kB / 1.494 GB, free: 272 kB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000153/1.075, allocations: 322 kB / 1.495 GB, free: 15.95 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/1.075, allocations: 165 kB / 1.495 GB, free: 15.78 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004129/1.076, allocations: 378.3 kB / 1.495 GB, free: 15.33 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.002138/1.078, allocations: 1.075 MB / 1.496 GB, free: 14.15 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/1.078, allocations: 4 kB / 1.496 GB, free: 14.15 MB / 1.201 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001309/1.079, allocations: 0.8052 MB / 1.497 GB, free: 13.33 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/1.079, allocations: 16.11 kB / 1.497 GB, free: 13.32 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/1.079, allocations: 8 kB / 1.497 GB, free: 13.31 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001953/1.08, allocations: 52.83 kB / 1.497 GB, free: 13.25 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003563/1.08, allocations: 107.8 kB / 1.497 GB, free: 13.15 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/1.082, allocations: 1.869 MB / 1.499 GB, free: 11.14 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008544/1.082, allocations: 23.94 kB / 1.499 GB, free: 11.12 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/1.082, allocations: 24 kB / 1.499 GB, free: 11.1 MB / 1.201 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.001141/1.084, allocations: 0.7962 MB / 1.5 GB, free: 10.29 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000276/1.084, allocations: 246.4 kB / 1.5 GB, free: 10.05 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003449/1.084, allocations: 255.7 kB / 1.5 GB, free: 9.801 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/1.084, allocations: 4 kB / 1.5 GB, free: 9.797 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/1.084, allocations: 3.984 kB / 1.5 GB, free: 9.793 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006969/1.085, allocations: 0.597 MB / 1.501 GB, free: 9.125 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003028/1.088, allocations: 2.046 MB / 1.503 GB, free: 6.973 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/1.088, allocations: 7.938 kB / 1.503 GB, free: 6.965 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003039/1.088, allocations: 63.91 kB / 1.503 GB, free: 6.902 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001491/1.088, allocations: 56.81 kB / 1.503 GB, free: 6.844 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/1.088, allocations: 12.41 kB / 1.503 GB, free: 6.832 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/1.09, allocations: 1.865 MB / 1.505 GB, free: 4.828 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.09, allocations: 11.88 kB / 1.505 GB, free: 4.816 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/1.091, allocations: 0.9281 MB / 1.506 GB, free: 3.828 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007377/1.092, allocations: 419.3 kB / 1.506 GB, free: 3.398 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/1.092, allocations: 12 kB / 1.506 GB, free: 3.387 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005511/1.093, allocations: 15.98 kB / 1.506 GB, free: 3.371 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/1.093, allocations: 35.84 kB / 1.506 GB, free: 3.336 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/1.093, allocations: 8 kB / 1.506 GB, free: 3.328 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.002773/1.096, allocations: 2.091 MB / 1.508 GB, free: 1.234 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/1.096, allocations: 0 / 1.508 GB, free: 1.234 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009716/1.097, allocations: 299.9 kB / 1.508 GB, free: 0.9414 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.001788/1.098, allocations: 1.558 MB / 1.51 GB, free: 15.32 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0009286/1.099, allocations: 0.5187 MB / 1.51 GB, free: 14.79 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.099, allocations: 0 / 1.51 GB, free: 14.79 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003906/1.1, allocations: 300.5 kB / 1.511 GB, free: 14.48 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003343/1.103, allocations: 0.9464 MB / 1.512 GB, free: 13.56 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02339/1.126, allocations: 17.16 MB / 1.528 GB, free: 11.98 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001643/1.128, allocations: 1.957 MB / 1.53 GB, free: 9.992 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001077/1.129, allocations: 346.8 kB / 1.531 GB, free: 9.648 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009591/1.13, allocations: 0.8 MB / 1.531 GB, free: 8.848 MB / 1.232 GB Notification: Performance of SimCode: time 1.042e-06/1.13, allocations: 0 / 1.531 GB, free: 8.848 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1016/1.232, allocations: 51.45 MB / 1.582 GB, free: 6.027 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/14.55, allocations: 0 / 1.582 GB, free: 6.027 MB / 1.279 GB " [Timeout remaining time 285] (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_2/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: 20.381386152934283]