Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.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.001208/0.001208, 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.001364/0.001364, allocations: 218.7 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.307/1.307, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 179] 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.948/2.948, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",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.001805/0.001805, allocations: 71.03 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2969, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1788/0.4757, allocations: 163.7 MB / 1.513 GB, free: 4.148 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.005256/0.481, allocations: 3.856 MB / 1.516 GB, free: 288 kB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002973/0.4813, allocations: 19.81 kB / 1.516 GB, free: 268 kB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0005843/0.4819, allocations: 186.7 kB / 1.517 GB, free: 80 kB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001936/0.4838, allocations: 0.8907 MB / 1.518 GB, free: 15.18 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009847/0.4848, allocations: 451.6 kB / 1.518 GB, free: 14.75 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001249/0.486, allocations: 1.057 MB / 1.519 GB, free: 13.69 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003914/0.4864, allocations: 233.1 kB / 1.519 GB, free: 13.45 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.4875, allocations: 0.6072 MB / 1.52 GB, free: 12.84 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008359/0.4883, allocations: 334.3 kB / 1.52 GB, free: 12.52 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 5.595e-05/0.4884, allocations: 32 kB / 1.52 GB, free: 12.49 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/0.4896, allocations: 0.7599 MB / 1.521 GB, free: 11.73 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.4898, allocations: 171.4 kB / 1.521 GB, free: 11.56 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0002289/0.4901, allocations: 219 kB / 1.521 GB, free: 11.34 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00106/0.4911, allocations: 0.7474 MB / 1.522 GB, free: 10.59 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.4911, allocations: 0 / 1.522 GB, free: 10.59 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4911, allocations: 0 / 1.522 GB, free: 10.59 MB / 1.217 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.4911, allocations: 4 kB / 1.522 GB, free: 10.59 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001052/0.4922, allocations: 0.6797 MB / 1.523 GB, free: 9.879 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.4922, allocations: 12.03 kB / 1.523 GB, free: 9.867 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.838e-05/0.4923, allocations: 66.53 kB / 1.523 GB, free: 9.793 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009421/0.4932, allocations: 151.6 kB / 1.523 GB, free: 9.645 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005894/0.4938, allocations: 336.2 kB / 1.523 GB, free: 9.289 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.4939, allocations: 24.59 kB / 1.523 GB, free: 9.266 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.367e-05/0.4939, allocations: 32 kB / 1.523 GB, free: 9.234 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005464/0.4945, allocations: 330 kB / 1.524 GB, free: 8.902 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.4945, allocations: 0 / 1.524 GB, free: 8.902 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.4945, allocations: 12 kB / 1.524 GB, free: 8.891 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.4945, allocations: 8 kB / 1.524 GB, free: 8.883 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000598/0.4951, allocations: 314.3 kB / 1.524 GB, free: 8.578 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/0.4968, allocations: 1.17 MB / 1.525 GB, free: 7.305 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004497/0.4972, allocations: 269.6 kB / 1.525 GB, free: 7.035 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002823/0.4975, allocations: 179.4 kB / 1.525 GB, free: 6.859 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002033/0.4977, allocations: 40.2 kB / 1.526 GB, free: 6.82 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.4978, allocations: 34.84 kB / 1.526 GB, free: 6.777 MB / 1.217 GB Notification: Performance of pre-optimization done (n=33): time 1.493e-06/0.4978, allocations: 0 / 1.526 GB, free: 6.777 MB / 1.217 GB Notification: Performance of matching and sorting (n=35): time 0.001984/0.4998, allocations: 0.9665 MB / 1.526 GB, free: 5.777 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.4998, allocations: 59.34 kB / 1.527 GB, free: 5.707 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.5001, allocations: 312.5 kB / 1.527 GB, free: 5.395 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.5001, allocations: 33.7 kB / 1.527 GB, free: 5.355 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.5003, allocations: 180.8 kB / 1.527 GB, free: 5.172 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.5004, allocations: 130.9 kB / 1.527 GB, free: 5.043 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.53e-05/0.5005, allocations: 61.7 kB / 1.527 GB, free: 4.977 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.5006, allocations: 350.8 kB / 1.528 GB, free: 4.625 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.5008, allocations: 111.9 kB / 1.528 GB, free: 4.516 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.5011, allocations: 166 kB / 1.528 GB, free: 4.344 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: dynBal.medium.p = dynBal.p_start (sin.p = dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/0.5028, allocations: 0.6859 MB / 1.528 GB, free: 3.652 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.5028, allocations: 0 / 1.528 GB, free: 3.652 MB / 1.217 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005838/0.5034, allocations: 361 kB / 1.529 GB, free: 3.293 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.5034, allocations: 4 kB / 1.529 GB, free: 3.289 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5034, allocations: 0 / 1.529 GB, free: 3.289 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.5034, allocations: 7.938 kB / 1.529 GB, free: 3.281 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.5037, allocations: 67.91 kB / 1.529 GB, free: 3.215 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.5037, allocations: 0 / 1.529 GB, free: 3.215 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000311/0.504, allocations: 15.98 kB / 1.529 GB, free: 3.199 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.5041, allocations: 12 kB / 1.529 GB, free: 3.188 MB / 1.217 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: dynBal.medium.p = dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001993/0.5043, allocations: 190.2 kB / 1.529 GB, free: 2.996 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.945e-05/0.5043, allocations: 35.81 kB / 1.529 GB, free: 2.961 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.5045, allocations: 59.98 kB / 1.529 GB, free: 2.902 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.5045, allocations: 4 kB / 1.529 GB, free: 2.898 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5045, allocations: 3.938 kB / 1.529 GB, free: 2.895 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005736/0.505, allocations: 408.3 kB / 1.53 GB, free: 2.465 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.5068, allocations: 1.036 MB / 1.531 GB, free: 1.332 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.5068, allocations: 4 kB / 1.531 GB, free: 1.328 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003581/0.5071, allocations: 79.89 kB / 1.531 GB, free: 1.25 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.5071, allocations: 4.469 kB / 1.531 GB, free: 1.246 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.5072, allocations: 16 kB / 1.531 GB, free: 1.23 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/0.5072, allocations: 15.88 kB / 1.531 GB, free: 1.215 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.5072, allocations: 7.938 kB / 1.531 GB, free: 1.207 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009337/0.5081, allocations: 0.6813 MB / 1.531 GB, free: 476 kB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.5083, allocations: 71.72 kB / 1.531 GB, free: 404 kB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.463e-05/0.5083, allocations: 15.94 kB / 1.531 GB, free: 388 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/0.5087, allocations: 23.91 kB / 1.532 GB, free: 364 kB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.744e-05/0.5087, allocations: 35.95 kB / 1.532 GB, free: 328 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.5087, allocations: 16 kB / 1.532 GB, free: 312 kB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002286/0.509, allocations: 227 kB / 1.532 GB, free: 88 kB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.509, allocations: 0 / 1.532 GB, free: 88 kB / 1.217 GB Notification: Performance of remove unused functions: time 0.00046/0.5094, allocations: 116 kB / 1.532 GB, free: 15.97 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (dynBal.medium.Xi[1],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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001365/0.5108, allocations: 1.285 MB / 1.533 GB, free: 14.61 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0005606/0.5114, allocations: 295.5 kB / 1.533 GB, free: 14.32 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5114, allocations: 0 / 1.533 GB, free: 14.32 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002767/0.5116, allocations: 155.7 kB / 1.534 GB, free: 14.17 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.5127, allocations: 226.7 kB / 1.534 GB, free: 13.95 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004822/0.5175, allocations: 3.68 MB / 1.537 GB, free: 10.1 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.518, allocations: 0.8312 MB / 1.538 GB, free: 9.238 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.000314/0.5183, allocations: 107.2 kB / 1.538 GB, free: 9.129 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.5185, allocations: 111.4 kB / 1.538 GB, free: 9.02 MB / 1.232 GB Notification: Performance of SimCode: time 4.91e-07/0.5185, allocations: 0 / 1.538 GB, free: 9.02 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04088/0.5594, allocations: 11.51 MB / 1.55 GB, free: 13.73 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/10.72, allocations: 7.062 kB / 1.55 GB, free: 13.72 MB / 1.248 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv --start-time 0 --stop-time 2700 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.08 Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable dynBal.Q_flow in file Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv. Warning: Get data of variable dynBal.Q_flow from file Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv failed! Error: Could not read variable dynBal.mWat_flow in file Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv. Warning: Get data of variable dynBal.mWat_flow from file Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv failed! Error: Could not read variable dynBal.medium.T in file Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv. Warning: Get data of variable dynBal.medium.T from file Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.80497924499923]