Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001396/0.001396, allocations: 109 kB / 17.54 MB, free: 4.746 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.001425/0.001425, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.329/1.329, allocations: 225.6 MB / 249.3 MB, free: 3.32 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.373/2.373, allocations: 443.5 MB / 0.7304 GB, free: 14.09 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 63.91 kB / 1.059 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2689, allocations: 160.7 MB / 1.216 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.6778/0.9467, allocations: 180.1 MB / 1.392 GB, free: 1.242 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01612/0.9628, allocations: 11.04 MB / 1.402 GB, free: 8.238 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002288/0.9651, allocations: 95.47 kB / 1.402 GB, free: 8.207 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004947/0.9701, allocations: 2.028 MB / 1.404 GB, free: 6.812 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004096/0.9742, allocations: 1.667 MB / 1.406 GB, free: 5.477 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.9762, allocations: 0.8179 MB / 1.407 GB, free: 4.836 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003853/0.98, allocations: 3.141 MB / 1.41 GB, free: 2.98 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.9812, allocations: 0.8207 MB / 1.411 GB, free: 2.41 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001623/0.9828, allocations: 1.162 MB / 1.412 GB, free: 1.746 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001803/0.9846, allocations: 1.152 MB / 1.413 GB, free: 1.035 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002005/0.9848, allocations: 133.2 kB / 1.413 GB, free: 1.031 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001651/0.9865, allocations: 0.967 MB / 1.414 GB, free: 0.5312 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004351/0.9869, allocations: 495.7 kB / 1.414 GB, free: 176 kB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.9879, allocations: 1.089 MB / 1.416 GB, free: 15.43 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003618/0.9916, allocations: 3.5 MB / 1.419 GB, free: 13.13 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.9916, allocations: 0 / 1.419 GB, free: 13.13 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9916, allocations: 0 / 1.419 GB, free: 13.13 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.372e-05/0.9916, allocations: 0 / 1.419 GB, free: 13.13 MB / 1.092 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.003615/0.9952, allocations: 2.889 MB / 1.422 GB, free: 10.98 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.9953, allocations: 14.14 kB / 1.422 GB, free: 10.97 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001417/0.9954, allocations: 124.7 kB / 1.422 GB, free: 10.87 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/0.9967, allocations: 387.6 kB / 1.422 GB, free: 10.67 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00275/0.9994, allocations: 2.038 MB / 1.424 GB, free: 9.25 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.991e-05/0.9995, allocations: 56.56 kB / 1.424 GB, free: 9.223 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.9996, allocations: 82.66 kB / 1.424 GB, free: 9.191 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/1.001, allocations: 0.9356 MB / 1.425 GB, free: 8.598 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/1.001, allocations: 2.594 kB / 1.425 GB, free: 8.598 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.949e-05/1.001, allocations: 32.44 kB / 1.425 GB, free: 8.574 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.181e-05/1.001, allocations: 27.75 kB / 1.425 GB, free: 8.566 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009576/1.002, allocations: 0.6982 MB / 1.426 GB, free: 8.223 MB / 1.092 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.00535/1.007, allocations: 4.459 MB / 1.43 GB, free: 3.836 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004799/1.008, allocations: 307.9 kB / 1.431 GB, free: 3.527 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/1.008, allocations: 168.8 kB / 1.431 GB, free: 3.359 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001684/1.008, allocations: 97.08 kB / 1.431 GB, free: 3.246 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/1.008, allocations: 39.06 kB / 1.431 GB, free: 3.199 MB / 1.092 GB Notification: Performance of pre-optimization done (n=30): time 2.124e-06/1.008, allocations: 0 / 1.431 GB, free: 3.199 MB / 1.092 GB Notification: Performance of matching and sorting (n=32): time 0.002892/1.011, allocations: 1.743 MB / 1.433 GB, free: 1.379 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/1.011, allocations: 59.39 kB / 1.433 GB, free: 1.309 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003612/1.015, allocations: 2.953 MB / 1.436 GB, free: 14.34 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/1.015, allocations: 33.7 kB / 1.436 GB, free: 14.3 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009579/1.016, allocations: 1.063 MB / 1.437 GB, free: 13.23 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/1.016, allocations: 126.9 kB / 1.437 GB, free: 13.11 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/1.016, allocations: 110.2 kB / 1.437 GB, free: 12.99 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.016, allocations: 330 kB / 1.437 GB, free: 12.66 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/1.016, allocations: 165 kB / 1.437 GB, free: 12.5 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003955/1.017, allocations: 370.9 kB / 1.438 GB, free: 12.05 MB / 1.107 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.002023/1.019, allocations: 1.079 MB / 1.439 GB, free: 10.87 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/1.019, allocations: 3.938 kB / 1.439 GB, free: 10.86 MB / 1.107 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001161/1.02, allocations: 0.8018 MB / 1.44 GB, free: 10.05 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/1.02, allocations: 8 kB / 1.44 GB, free: 10.04 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/1.02, allocations: 4 kB / 1.44 GB, free: 10.04 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001749/1.02, allocations: 65.91 kB / 1.44 GB, free: 9.973 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/1.021, allocations: 107.8 kB / 1.44 GB, free: 9.867 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/1.022, allocations: 1.862 MB / 1.442 GB, free: 7.875 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007612/1.023, allocations: 27.94 kB / 1.442 GB, free: 7.848 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.257e-05/1.023, allocations: 27.94 kB / 1.442 GB, free: 7.82 MB / 1.107 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.0009607/1.024, allocations: 0.7923 MB / 1.442 GB, free: 7.02 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/1.024, allocations: 246.4 kB / 1.443 GB, free: 6.777 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000339/1.024, allocations: 255.8 kB / 1.443 GB, free: 6.523 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/1.024, allocations: 4 kB / 1.443 GB, free: 6.52 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/1.024, allocations: 4 kB / 1.443 GB, free: 6.516 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006675/1.025, allocations: 0.6055 MB / 1.444 GB, free: 5.84 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002718/1.028, allocations: 2.044 MB / 1.445 GB, free: 3.688 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/1.028, allocations: 4 kB / 1.446 GB, free: 3.684 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002946/1.028, allocations: 63.91 kB / 1.446 GB, free: 3.621 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001376/1.028, allocations: 52.83 kB / 1.446 GB, free: 3.566 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/1.028, allocations: 15.98 kB / 1.446 GB, free: 3.551 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/1.03, allocations: 1.858 MB / 1.447 GB, free: 1.559 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.03, allocations: 4 kB / 1.447 GB, free: 1.555 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/1.031, allocations: 0.9426 MB / 1.448 GB, free: 0.5508 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006283/1.032, allocations: 427.3 kB / 1.449 GB, free: 116 kB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/1.032, allocations: 8 kB / 1.449 GB, free: 108 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005482/1.032, allocations: 16.06 kB / 1.449 GB, free: 92 kB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/1.032, allocations: 31.84 kB / 1.449 GB, free: 60 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/1.032, allocations: 19.98 kB / 1.449 GB, free: 40 kB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002732/1.035, allocations: 2.083 MB / 1.451 GB, free: 13.95 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/1.035, allocations: 0 / 1.451 GB, free: 13.95 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009721/1.036, allocations: 303.9 kB / 1.451 GB, free: 13.65 MB / 1.123 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.001674/1.038, allocations: 1.567 MB / 1.453 GB, free: 12.03 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0008474/1.039, allocations: 0.5151 MB / 1.453 GB, free: 11.5 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.039, allocations: 0 / 1.453 GB, free: 11.5 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003805/1.039, allocations: 296.6 kB / 1.453 GB, free: 11.2 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003285/1.042, allocations: 0.9522 MB / 1.454 GB, free: 10.29 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02223/1.064, allocations: 17.15 MB / 1.471 GB, free: 8.711 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001544/1.066, allocations: 1.953 MB / 1.473 GB, free: 6.723 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0009799/1.067, allocations: 342.8 kB / 1.473 GB, free: 6.383 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009328/1.068, allocations: 0.8 MB / 1.474 GB, free: 5.582 MB / 1.139 GB Notification: Performance of SimCode: time 6.82e-07/1.068, allocations: 0 / 1.474 GB, free: 5.582 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09393/1.162, allocations: 51.44 MB / 1.524 GB, free: 2.797 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.63, allocations: 6.562 kB / 1.524 GB, free: 2.793 MB / 1.186 GB " [Timeout remaining time 286] (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable air.vol.T in file Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv. Warning: Get data of variable air.vol.T from file Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv failed! Error: Could not read variable air.vol.Xi[1] in file Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv. Warning: Get data of variable air.vol.Xi[1] from file Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.95885372099292]