Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001786/0.001786, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.002085/0.002085, allocations: 212 kB / 20.13 MB, free: 2.949 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.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.777/2.777, allocations: 0.49 GB / 0.7923 GB, free: 1.23 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_12_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.001894/0.001894, allocations: 75.83 kB / 1.15 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9315/0.9334, allocations: 176.1 MB / 1.322 GB, free: 24.7 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2276/1.161, allocations: 182.8 MB / 1.5 GB, free: 1.074 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01987/1.181, allocations: 11.05 MB / 1.511 GB, free: 7.359 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003735/1.185, allocations: 127 kB / 1.511 GB, free: 7.234 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.006938/1.191, allocations: 2.021 MB / 1.513 GB, free: 5.203 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005808/1.197, allocations: 1.678 MB / 1.515 GB, free: 3.52 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002794/1.2, allocations: 0.787 MB / 1.515 GB, free: 2.734 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.005481/1.206, allocations: 3.145 MB / 1.518 GB, free: 15.58 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002088/1.208, allocations: 1.055 MB / 1.519 GB, free: 14.5 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00287/1.211, allocations: 1.319 MB / 1.521 GB, free: 13.17 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002715/1.213, allocations: 1.15 MB / 1.522 GB, free: 12.02 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0005003/1.214, allocations: 128 kB / 1.522 GB, free: 11.9 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002528/1.216, allocations: 0.9706 MB / 1.523 GB, free: 10.93 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007921/1.217, allocations: 489.9 kB / 1.523 GB, free: 10.45 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002044/1.219, allocations: 1.092 MB / 1.525 GB, free: 9.348 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00507/1.224, allocations: 3.506 MB / 1.528 GB, free: 5.828 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/1.224, allocations: 4 kB / 1.528 GB, free: 5.824 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.663e-06/1.224, allocations: 0 / 1.528 GB, free: 5.824 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.094e-05/1.224, allocations: 0 / 1.528 GB, free: 5.824 MB / 1.201 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.004287/1.229, allocations: 2.894 MB / 1.531 GB, free: 2.863 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/1.229, allocations: 15.98 kB / 1.531 GB, free: 2.848 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.889e-05/1.229, allocations: 22 kB / 1.531 GB, free: 2.828 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001615/1.229, allocations: 126.7 kB / 1.531 GB, free: 2.695 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/1.23, allocations: 390 kB / 1.531 GB, free: 2.312 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003287/1.234, allocations: 2.043 MB / 1.533 GB, free: 208 kB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.141e-05/1.234, allocations: 58 kB / 1.533 GB, free: 152 kB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/1.234, allocations: 76 kB / 1.533 GB, free: 76 kB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/1.235, allocations: 0.9368 MB / 1.534 GB, free: 15.09 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/1.235, allocations: 3.938 kB / 1.534 GB, free: 15.09 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.557e-05/1.235, allocations: 39.94 kB / 1.534 GB, free: 15.05 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.854e-05/1.235, allocations: 28.94 kB / 1.534 GB, free: 15.02 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/1.237, allocations: 0.6986 MB / 1.535 GB, free: 14.32 MB / 1.217 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.006084/1.243, allocations: 4.469 MB / 1.539 GB, free: 9.641 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005064/1.243, allocations: 299.9 kB / 1.54 GB, free: 9.34 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002648/1.243, allocations: 173.3 kB / 1.54 GB, free: 9.168 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001941/1.244, allocations: 97.09 kB / 1.54 GB, free: 9.055 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/1.244, allocations: 38.56 kB / 1.54 GB, free: 9.008 MB / 1.217 GB Notification: Performance of pre-optimization done (n=30): time 2.255e-06/1.244, allocations: 0 / 1.54 GB, free: 9.008 MB / 1.217 GB Notification: Performance of matching and sorting (n=32): time 0.003358/1.247, allocations: 1.74 MB / 1.542 GB, free: 7.188 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/1.247, allocations: 55.39 kB / 1.542 GB, free: 7.121 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004155/1.251, allocations: 2.949 MB / 1.545 GB, free: 4.156 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.305e-05/1.251, allocations: 33.7 kB / 1.545 GB, free: 4.117 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.00109/1.252, allocations: 1.075 MB / 1.546 GB, free: 3.039 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/1.252, allocations: 123 kB / 1.546 GB, free: 2.918 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/1.253, allocations: 110.1 kB / 1.546 GB, free: 2.805 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001633/1.253, allocations: 329.9 kB / 1.546 GB, free: 2.477 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/1.253, allocations: 169 kB / 1.546 GB, free: 2.309 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004573/1.254, allocations: 366.3 kB / 1.547 GB, free: 1.867 MB / 1.217 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.002303/1.256, allocations: 1.078 MB / 1.548 GB, free: 0.6875 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.256, allocations: 0 / 1.548 GB, free: 0.6875 MB / 1.217 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001387/1.257, allocations: 0.8061 MB / 1.549 GB, free: 15.87 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/1.257, allocations: 8 kB / 1.549 GB, free: 15.86 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/1.257, allocations: 12.06 kB / 1.549 GB, free: 15.85 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002017/1.257, allocations: 64.77 kB / 1.549 GB, free: 15.78 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/1.258, allocations: 99.83 kB / 1.549 GB, free: 15.68 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001875/1.26, allocations: 1.861 MB / 1.551 GB, free: 13.69 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008701/1.261, allocations: 27.89 kB / 1.551 GB, free: 13.66 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-05/1.261, allocations: 24 kB / 1.551 GB, free: 13.64 MB / 1.232 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.001162/1.262, allocations: 0.7941 MB / 1.551 GB, free: 12.83 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002933/1.262, allocations: 242.4 kB / 1.552 GB, free: 12.59 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003781/1.262, allocations: 251.7 kB / 1.552 GB, free: 12.34 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/1.262, allocations: 7.984 kB / 1.552 GB, free: 12.33 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/1.262, allocations: 0 / 1.552 GB, free: 12.33 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007506/1.263, allocations: 0.609 MB / 1.553 GB, free: 11.65 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002996/1.266, allocations: 2.046 MB / 1.555 GB, free: 9.504 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.266, allocations: 7.984 kB / 1.555 GB, free: 9.496 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003167/1.267, allocations: 63.91 kB / 1.555 GB, free: 9.434 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001539/1.267, allocations: 60.81 kB / 1.555 GB, free: 9.371 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/1.267, allocations: 8.531 kB / 1.555 GB, free: 9.363 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001682/1.268, allocations: 1.861 MB / 1.556 GB, free: 7.363 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.738e-06/1.268, allocations: 11.92 kB / 1.556 GB, free: 7.352 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/1.27, allocations: 0.9281 MB / 1.557 GB, free: 6.363 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006376/1.27, allocations: 419.4 kB / 1.558 GB, free: 5.934 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/1.27, allocations: 12 kB / 1.558 GB, free: 5.922 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005757/1.271, allocations: 19.92 kB / 1.558 GB, free: 5.902 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-05/1.271, allocations: 31.84 kB / 1.558 GB, free: 5.871 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/1.271, allocations: 16 kB / 1.558 GB, free: 5.855 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002889/1.274, allocations: 2.083 MB / 1.56 GB, free: 3.77 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/1.274, allocations: 0 / 1.56 GB, free: 3.77 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001003/1.275, allocations: 304 kB / 1.56 GB, free: 3.473 MB / 1.232 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.001767/1.277, allocations: 1.546 MB / 1.562 GB, free: 1.855 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0009468/1.278, allocations: 0.507 MB / 1.562 GB, free: 1.336 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.278, allocations: 0 / 1.562 GB, free: 1.336 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0004143/1.278, allocations: 294.1 kB / 1.562 GB, free: 1.039 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003362/1.281, allocations: 0.9407 MB / 1.563 GB, free: 128 kB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02436/1.306, allocations: 17.16 MB / 1.58 GB, free: 14.54 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00178/1.308, allocations: 1.957 MB / 1.582 GB, free: 12.55 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.00109/1.309, allocations: 342.8 kB / 1.582 GB, free: 12.21 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009839/1.31, allocations: 0.8039 MB / 1.583 GB, free: 11.41 MB / 1.264 GB Notification: Performance of SimCode: time 9.32e-07/1.31, allocations: 0 / 1.583 GB, free: 11.41 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/1.411, allocations: 51.41 MB / 1.633 GB, free: 8.715 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/14.75, allocations: 17.62 kB / 1.633 GB, free: 8.699 MB / 1.311 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat --tempDir=temp_Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.356360429956112]