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.001858/0.001858, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002457/0.002457, allocations: 219.2 kB / 22.26 MB, free: 5.125 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.399/1.399, allocations: 230.6 MB / 256 MB, free: 7.98 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 3.085/3.085, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",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.001964/0.001964, allocations: 71.31 kB / 1.177 GB, free: 16.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3338, allocations: 180.2 MB / 1.353 GB, free: 8.352 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2082/0.542, allocations: 183 MB / 1.532 GB, free: 0.6211 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01733/0.5594, allocations: 11.1 MB / 1.543 GB, free: 5.492 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003104/0.5625, allocations: 127 kB / 1.543 GB, free: 5.367 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.0059/0.5684, allocations: 2.04 MB / 1.545 GB, free: 3.316 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.005085/0.5734, allocations: 1.702 MB / 1.546 GB, free: 1.605 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.002562/0.576, allocations: 0.8302 MB / 1.547 GB, free: 0.7773 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.005128/0.5811, allocations: 3.185 MB / 1.55 GB, free: 13.58 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/0.5826, allocations: 0.8211 MB / 1.551 GB, free: 12.73 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002555/0.5852, allocations: 1.35 MB / 1.552 GB, free: 11.37 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002467/0.5877, allocations: 1.141 MB / 1.553 GB, free: 10.23 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0003261/0.588, allocations: 128 kB / 1.554 GB, free: 10.11 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002179/0.5902, allocations: 0.9862 MB / 1.555 GB, free: 9.117 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0005664/0.5907, allocations: 481.9 kB / 1.555 GB, free: 8.645 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001374/0.5921, allocations: 1.091 MB / 1.556 GB, free: 7.547 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.004994/0.5971, allocations: 3.506 MB / 1.56 GB, free: 4.027 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5971, allocations: 0 / 1.56 GB, free: 4.027 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5971, allocations: 4 kB / 1.56 GB, free: 4.023 MB / 1.248 GB Notification: Performance of Transformations before backend: time 5.924e-05/0.5972, allocations: 4 kB / 1.56 GB, free: 4.02 MB / 1.248 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.004596/0.6018, allocations: 2.826 MB / 1.562 GB, free: 1.145 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.6018, allocations: 12.03 kB / 1.562 GB, free: 1.133 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001649/0.602, allocations: 126.7 kB / 1.562 GB, free: 1 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/0.6035, allocations: 386 kB / 1.563 GB, free: 0.6211 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003645/0.6071, allocations: 1.951 MB / 1.565 GB, free: 14.62 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.609e-05/0.6072, allocations: 58 kB / 1.565 GB, free: 14.56 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.6073, allocations: 72 kB / 1.565 GB, free: 14.49 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.6088, allocations: 0.9368 MB / 1.566 GB, free: 13.51 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.6088, allocations: 3.938 kB / 1.566 GB, free: 13.51 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.752e-05/0.6088, allocations: 36 kB / 1.566 GB, free: 13.47 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.086e-05/0.6089, allocations: 32.94 kB / 1.566 GB, free: 13.44 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.61, allocations: 0.7025 MB / 1.566 GB, free: 12.74 MB / 1.264 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.006434/0.6164, allocations: 4.403 MB / 1.571 GB, free: 8.121 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005081/0.617, allocations: 306.6 kB / 1.571 GB, free: 7.812 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/0.6172, allocations: 172.6 kB / 1.571 GB, free: 7.641 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.6174, allocations: 27.98 kB / 1.571 GB, free: 7.613 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.6174, allocations: 34.56 kB / 1.571 GB, free: 7.57 MB / 1.264 GB Notification: Performance of pre-optimization done (n=30): time 2.265e-06/0.6174, allocations: 0 / 1.571 GB, free: 7.57 MB / 1.264 GB Notification: Performance of matching and sorting (n=32): time 0.003155/0.6206, allocations: 1.592 MB / 1.573 GB, free: 5.934 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.6206, allocations: 59.34 kB / 1.573 GB, free: 5.863 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003996/0.6246, allocations: 2.953 MB / 1.576 GB, free: 2.895 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 6.092e-05/0.6247, allocations: 33.7 kB / 1.576 GB, free: 2.855 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.001028/0.6257, allocations: 1.063 MB / 1.577 GB, free: 1.785 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.6258, allocations: 126.9 kB / 1.577 GB, free: 1.66 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.626, allocations: 106.2 kB / 1.577 GB, free: 1.551 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.6261, allocations: 326 kB / 1.577 GB, free: 1.227 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.6264, allocations: 165 kB / 1.578 GB, free: 1.066 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004238/0.6268, allocations: 374.3 kB / 1.578 GB, free: 0.6094 MB / 1.264 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.002156/0.629, allocations: 1.003 MB / 1.579 GB, free: 15.52 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.83e-06/0.629, allocations: 4 kB / 1.579 GB, free: 15.52 MB / 1.279 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001368/0.6304, allocations: 0.7983 MB / 1.58 GB, free: 14.71 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.6304, allocations: 12.12 kB / 1.58 GB, free: 14.7 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.6304, allocations: 8 kB / 1.58 GB, free: 14.69 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002039/0.6306, allocations: 60.81 kB / 1.58 GB, free: 14.62 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/0.6309, allocations: 107.8 kB / 1.58 GB, free: 14.52 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001716/0.6327, allocations: 1.758 MB / 1.582 GB, free: 12.65 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000911/0.6336, allocations: 31.88 kB / 1.582 GB, free: 12.62 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.581e-05/0.6336, allocations: 24 kB / 1.582 GB, free: 12.6 MB / 1.279 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.001187/0.6348, allocations: 0.7979 MB / 1.582 GB, free: 11.79 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003413/0.6351, allocations: 246.4 kB / 1.583 GB, free: 11.55 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004145/0.6356, allocations: 251.7 kB / 1.583 GB, free: 11.3 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.6356, allocations: 4 kB / 1.583 GB, free: 11.3 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.6356, allocations: 0 / 1.583 GB, free: 11.3 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007473/0.6363, allocations: 0.6016 MB / 1.583 GB, free: 10.62 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003189/0.6395, allocations: 2.019 MB / 1.585 GB, free: 8.504 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.6395, allocations: 4 kB / 1.585 GB, free: 8.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000306/0.6398, allocations: 63.91 kB / 1.586 GB, free: 8.438 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001592/0.64, allocations: 60.81 kB / 1.586 GB, free: 8.375 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.64, allocations: 8.406 kB / 1.586 GB, free: 8.367 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001602/0.6416, allocations: 1.762 MB / 1.587 GB, free: 6.492 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.6416, allocations: 7.938 kB / 1.587 GB, free: 6.484 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.6429, allocations: 0.9338 MB / 1.588 GB, free: 5.492 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008233/0.6437, allocations: 359.3 kB / 1.589 GB, free: 5.133 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000206/0.6439, allocations: 8 kB / 1.589 GB, free: 5.125 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005462/0.6445, allocations: 15.98 kB / 1.589 GB, free: 5.109 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.251e-05/0.6445, allocations: 43.77 kB / 1.589 GB, free: 5.066 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.6445, allocations: 12 kB / 1.589 GB, free: 5.055 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003076/0.6476, allocations: 2.087 MB / 1.591 GB, free: 2.965 MB / 1.279 GB Notification: Performance of sort global known variables: time 9e-08/0.6476, allocations: 4 kB / 1.591 GB, free: 2.961 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.00109/0.6487, allocations: 296 kB / 1.591 GB, free: 2.672 MB / 1.279 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.001753/0.6505, allocations: 1.55 MB / 1.592 GB, free: 1.051 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0009693/0.6514, allocations: 0.5109 MB / 1.593 GB, free: 0.5273 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6514, allocations: 0 / 1.593 GB, free: 0.5273 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0003991/0.6518, allocations: 299.7 kB / 1.593 GB, free: 228 kB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003465/0.6553, allocations: 0.9485 MB / 1.594 GB, free: 15.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6584/1.314, allocations: 17.15 MB / 1.611 GB, free: 249.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002079/1.316, allocations: 1.955 MB / 1.613 GB, free: 249.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001265/1.317, allocations: 339.2 kB / 1.613 GB, free: 249.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009235/1.318, allocations: 0.7999 MB / 1.614 GB, free: 249 MB / 1.295 GB Notification: Performance of SimCode: time 1.242e-06/1.318, allocations: 0 / 1.614 GB, free: 249 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1104/1.428, allocations: 51.78 MB / 1.665 GB, free: 224.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/15.62, allocations: 3.859 kB / 1.665 GB, free: 224.5 MB / 1.295 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv --start-time 0 --stop-time 3600 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.csv","/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] "Error: Could not read variable air.vol.T in file Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv. Warning: Get data of variable air.vol.T from file Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv failed! Error: Could not read variable air.vol.Xi[1] in file Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv. Warning: Get data of variable air.vol.Xi[1] from file Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.17329340499964]