Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00139/0.00139, allocations: 117.4 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.00149/0.00149, allocations: 214.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.432/1.432, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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 2.87/2.87, allocations: 0.5003 GB / 0.8026 GB, free: 6.707 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_latest_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.001901/0.001901, allocations: 70.25 kB / 1.165 GB, free: 380 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9666/0.9685, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2328/1.201, allocations: 182.8 MB / 1.519 GB, free: 1.293 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0186/1.22, allocations: 11.05 MB / 1.53 GB, free: 6.215 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003925/1.224, allocations: 127 kB / 1.53 GB, free: 6.09 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.005876/1.23, allocations: 2.021 MB / 1.532 GB, free: 4.059 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005042/1.235, allocations: 1.667 MB / 1.533 GB, free: 2.383 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002371/1.237, allocations: 0.8013 MB / 1.534 GB, free: 1.586 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004691/1.242, allocations: 3.148 MB / 1.537 GB, free: 14.43 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001527/1.243, allocations: 1.043 MB / 1.538 GB, free: 13.36 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002212/1.245, allocations: 1.323 MB / 1.539 GB, free: 12.03 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001995/1.247, allocations: 1.144 MB / 1.541 GB, free: 10.89 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002373/1.248, allocations: 128 kB / 1.541 GB, free: 10.76 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001876/1.25, allocations: 0.9668 MB / 1.542 GB, free: 9.793 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.000521/1.25, allocations: 493.8 kB / 1.542 GB, free: 9.309 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001169/1.251, allocations: 1.099 MB / 1.543 GB, free: 8.203 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004497/1.256, allocations: 3.51 MB / 1.547 GB, free: 4.68 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.256, allocations: 0 / 1.547 GB, free: 4.68 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.744e-06/1.256, allocations: 0 / 1.547 GB, free: 4.68 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.534e-05/1.256, allocations: 0 / 1.547 GB, free: 4.68 MB / 1.217 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.004111/1.26, allocations: 2.895 MB / 1.549 GB, free: 1.723 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/1.26, allocations: 8.031 kB / 1.549 GB, free: 1.715 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.701e-05/1.26, allocations: 22 kB / 1.549 GB, free: 1.691 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001539/1.26, allocations: 130.7 kB / 1.55 GB, free: 1.555 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001432/1.262, allocations: 382.1 kB / 1.55 GB, free: 1.18 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003086/1.265, allocations: 2.047 MB / 1.552 GB, free: 15.07 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.13e-05/1.265, allocations: 58 kB / 1.552 GB, free: 15.01 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/1.265, allocations: 75.98 kB / 1.552 GB, free: 14.94 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/1.266, allocations: 0.9368 MB / 1.553 GB, free: 13.96 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/1.266, allocations: 0 / 1.553 GB, free: 13.96 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.98e-05/1.266, allocations: 35.94 kB / 1.553 GB, free: 13.92 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.642e-05/1.266, allocations: 28.94 kB / 1.553 GB, free: 13.89 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/1.268, allocations: 0.6947 MB / 1.554 GB, free: 13.2 MB / 1.232 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.005982/1.274, allocations: 4.469 MB / 1.558 GB, free: 8.52 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005225/1.274, allocations: 290.7 kB / 1.558 GB, free: 8.227 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/1.274, allocations: 180.7 kB / 1.559 GB, free: 8.047 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001948/1.275, allocations: 93.09 kB / 1.559 GB, free: 7.938 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/1.275, allocations: 38.56 kB / 1.559 GB, free: 7.891 MB / 1.232 GB Notification: Performance of pre-optimization done (n=30): time 1.834e-06/1.275, allocations: 0 / 1.559 GB, free: 7.891 MB / 1.232 GB Notification: Performance of matching and sorting (n=32): time 0.00335/1.278, allocations: 1.743 MB / 1.56 GB, free: 6.066 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/1.278, allocations: 55.34 kB / 1.56 GB, free: 6 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003906/1.282, allocations: 2.961 MB / 1.563 GB, free: 3.023 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.965e-05/1.282, allocations: 29.7 kB / 1.563 GB, free: 2.988 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001017/1.283, allocations: 1.063 MB / 1.564 GB, free: 1.918 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.000142/1.283, allocations: 130.9 kB / 1.564 GB, free: 1.789 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/1.283, allocations: 110.2 kB / 1.565 GB, free: 1.676 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.283, allocations: 325.9 kB / 1.565 GB, free: 1.352 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/1.284, allocations: 169 kB / 1.565 GB, free: 1.184 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004641/1.284, allocations: 376.1 kB / 1.565 GB, free: 0.7344 MB / 1.232 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.002274/1.286, allocations: 1.07 MB / 1.566 GB, free: 15.56 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/1.286, allocations: 0 / 1.566 GB, free: 15.56 MB / 1.248 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001328/1.288, allocations: 0.8128 MB / 1.567 GB, free: 14.74 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/1.288, allocations: 5.875 kB / 1.567 GB, free: 14.73 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/1.288, allocations: 15.92 kB / 1.567 GB, free: 14.72 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002071/1.288, allocations: 64.77 kB / 1.567 GB, free: 14.65 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003631/1.288, allocations: 95.83 kB / 1.567 GB, free: 14.56 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/1.29, allocations: 1.857 MB / 1.569 GB, free: 12.56 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/1.291, allocations: 41.91 kB / 1.569 GB, free: 12.52 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.625e-05/1.291, allocations: 24 kB / 1.569 GB, free: 12.5 MB / 1.248 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.001366/1.293, allocations: 0.7901 MB / 1.57 GB, free: 11.7 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003145/1.293, allocations: 246.4 kB / 1.57 GB, free: 11.46 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003966/1.293, allocations: 255.7 kB / 1.571 GB, free: 11.2 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/1.293, allocations: 4 kB / 1.571 GB, free: 11.2 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/1.293, allocations: 0 / 1.571 GB, free: 11.2 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007784/1.294, allocations: 0.6086 MB / 1.571 GB, free: 10.52 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003055/1.297, allocations: 2.04 MB / 1.573 GB, free: 8.371 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/1.297, allocations: 4 kB / 1.573 GB, free: 8.367 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003166/1.297, allocations: 60.31 kB / 1.573 GB, free: 8.309 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001787/1.298, allocations: 64.81 kB / 1.573 GB, free: 8.242 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/1.298, allocations: 8 kB / 1.573 GB, free: 8.234 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/1.299, allocations: 1.857 MB / 1.575 GB, free: 6.238 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.299, allocations: 4 kB / 1.575 GB, free: 6.234 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/1.301, allocations: 0.9424 MB / 1.576 GB, free: 5.234 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006474/1.301, allocations: 419.3 kB / 1.576 GB, free: 4.805 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/1.301, allocations: 12 kB / 1.576 GB, free: 4.793 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005773/1.302, allocations: 23.92 kB / 1.576 GB, free: 4.77 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/1.302, allocations: 31.97 kB / 1.576 GB, free: 4.738 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/1.302, allocations: 15.94 kB / 1.577 GB, free: 4.723 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002897/1.305, allocations: 2.087 MB / 1.579 GB, free: 2.633 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/1.305, allocations: 0 / 1.579 GB, free: 2.633 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001054/1.306, allocations: 296 kB / 1.579 GB, free: 2.344 MB / 1.248 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.001745/1.308, allocations: 1.543 MB / 1.58 GB, free: 0.7305 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0009509/1.309, allocations: 0.5102 MB / 1.581 GB, free: 212 kB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/1.309, allocations: 1.625 kB / 1.581 GB, free: 212 kB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0004204/1.309, allocations: 303.2 kB / 1.581 GB, free: 15.9 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003355/1.313, allocations: 0.9483 MB / 1.582 GB, free: 14.97 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02418/1.337, allocations: 17.15 MB / 1.599 GB, free: 13.39 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001777/1.338, allocations: 1.957 MB / 1.601 GB, free: 11.4 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001152/1.34, allocations: 342.8 kB / 1.601 GB, free: 11.06 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009528/1.341, allocations: 0.7961 MB / 1.602 GB, free: 10.27 MB / 1.279 GB Notification: Performance of SimCode: time 1.253e-06/1.341, allocations: 3.938 kB / 1.602 GB, free: 10.26 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09682/1.437, allocations: 51.41 MB / 1.652 GB, free: 7.512 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/15.42, allocations: 4.062 kB / 1.652 GB, free: 7.508 MB / 1.326 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.14574328903109]