Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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.001276/0.001276, allocations: 97.88 kB / 19.73 MB, free: 2.117 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: 217.8 kB / 23.03 MB, free: 4.922 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.395/1.395, allocations: 230.6 MB / 256.8 MB, free: 7.781 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 3.152/3.152, allocations: 0.49 GB / 0.7959 GB, free: 35.39 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.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",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.001909/0.001909, allocations: 61.5 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.313, allocations: 176.1 MB / 1.327 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.2234/0.5364, allocations: 195.9 MB / 1.518 GB, free: 12.88 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.009867/0.5463, allocations: 5.428 MB / 1.523 GB, free: 7.441 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001318/0.5476, allocations: 59.5 kB / 1.523 GB, free: 7.383 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001725/0.5493, allocations: 0.5513 MB / 1.524 GB, free: 6.828 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00452/0.5538, allocations: 1.7 MB / 1.525 GB, free: 5.121 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.0033/0.5571, allocations: 1.246 MB / 1.527 GB, free: 3.883 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003914/0.561, allocations: 2.625 MB / 1.529 GB, free: 1.246 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001428/0.5625, allocations: 0.7005 MB / 1.53 GB, free: 0.5352 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002931/0.5654, allocations: 1.296 MB / 1.531 GB, free: 15.23 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002521/0.5679, allocations: 0.8968 MB / 1.532 GB, free: 14.35 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002653/0.5682, allocations: 96 kB / 1.532 GB, free: 14.25 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002914/0.5711, allocations: 1.29 MB / 1.533 GB, free: 12.96 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006598/0.5717, allocations: 418.8 kB / 1.534 GB, free: 12.55 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0008697/0.5726, allocations: 0.4901 MB / 1.534 GB, free: 12.06 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003438/0.5761, allocations: 1.989 MB / 1.536 GB, free: 10.06 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.5761, allocations: 0 / 1.536 GB, free: 10.06 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.562e-06/0.5761, allocations: 0 / 1.536 GB, free: 10.06 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.523e-05/0.5761, allocations: 0 / 1.536 GB, free: 10.06 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.002827/0.5789, allocations: 1.384 MB / 1.538 GB, free: 8.641 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.579, allocations: 8.031 kB / 1.538 GB, free: 8.633 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.572e-05/0.579, allocations: 22 kB / 1.538 GB, free: 8.613 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001856/0.5792, allocations: 122.6 kB / 1.538 GB, free: 8.484 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002775/0.582, allocations: 426.8 kB / 1.538 GB, free: 8.066 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001786/0.5837, allocations: 0.7401 MB / 1.539 GB, free: 7.293 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.237e-05/0.5838, allocations: 62 kB / 1.539 GB, free: 7.234 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002326/0.5841, allocations: 76 kB / 1.539 GB, free: 7.16 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/0.5865, allocations: 1.359 MB / 1.54 GB, free: 5.688 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.5865, allocations: 0 / 1.54 GB, free: 5.688 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.706e-05/0.5866, allocations: 39.94 kB / 1.54 GB, free: 5.648 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.281e-05/0.5866, allocations: 26 kB / 1.54 GB, free: 5.625 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002092/0.5887, allocations: 0.8821 MB / 1.541 GB, free: 4.742 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.006249/0.595, allocations: 2.76 MB / 1.544 GB, free: 1.914 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.5966, allocations: 0.583 MB / 1.545 GB, free: 1.324 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009634/0.5975, allocations: 327.2 kB / 1.545 GB, free: 1.004 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001674/0.5977, allocations: 23.98 kB / 1.545 GB, free: 0.9805 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.5977, allocations: 42.5 kB / 1.545 GB, free: 0.9297 MB / 1.232 GB Notification: Performance of pre-optimization done (n=39): time 2.765e-06/0.5977, allocations: 7.938 kB / 1.545 GB, free: 0.9219 MB / 1.232 GB Notification: Performance of matching and sorting (n=41): time 0.005395/0.6031, allocations: 1.833 MB / 1.547 GB, free: 15.05 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.6032, allocations: 55.41 kB / 1.547 GB, free: 14.98 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.6043, allocations: 0.7822 MB / 1.548 GB, free: 14.19 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 8.732e-05/0.6044, allocations: 37.7 kB / 1.548 GB, free: 14.15 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003986/0.6048, allocations: 464.4 kB / 1.548 GB, free: 13.69 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/0.605, allocations: 150.7 kB / 1.548 GB, free: 13.54 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/0.6052, allocations: 106.3 kB / 1.548 GB, free: 13.43 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.6054, allocations: 329.9 kB / 1.549 GB, free: 13.1 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008773/0.6063, allocations: 313.1 kB / 1.549 GB, free: 12.79 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009609/0.6072, allocations: 0.5383 MB / 1.549 GB, free: 12.18 MB / 1.248 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005485/0.6127, allocations: 1.848 MB / 1.551 GB, free: 10.29 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.6127, allocations: 0 / 1.551 GB, free: 10.29 MB / 1.248 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002116/0.6148, allocations: 0.8469 MB / 1.552 GB, free: 9.434 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.6149, allocations: 4 kB / 1.552 GB, free: 9.43 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.6149, allocations: 8 kB / 1.552 GB, free: 9.422 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.6149, allocations: 8 kB / 1.552 GB, free: 9.414 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00082/0.6157, allocations: 167.8 kB / 1.552 GB, free: 9.25 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.249e-05/0.6157, allocations: 8 kB / 1.552 GB, free: 9.242 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008932/0.6166, allocations: 59.89 kB / 1.552 GB, free: 9.184 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.874e-05/0.6167, allocations: 20 kB / 1.552 GB, free: 9.164 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (65): * Single equations (assignments): 65 * 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.000489/0.6172, allocations: 285.5 kB / 1.553 GB, free: 8.875 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.6173, allocations: 87.48 kB / 1.553 GB, free: 8.789 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/0.6175, allocations: 92.08 kB / 1.553 GB, free: 8.699 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.6175, allocations: 4 kB / 1.553 GB, free: 8.695 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.6176, allocations: 0 / 1.553 GB, free: 8.695 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001587/0.6191, allocations: 0.6951 MB / 1.553 GB, free: 7.969 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004159/0.6233, allocations: 1.759 MB / 1.555 GB, free: 6.121 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.6233, allocations: 4 kB / 1.555 GB, free: 6.117 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007906/0.6241, allocations: 144.2 kB / 1.555 GB, free: 5.977 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.938e-06/0.6241, allocations: 4 kB / 1.555 GB, free: 5.973 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.484e-05/0.6242, allocations: 16 kB / 1.555 GB, free: 5.957 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/0.6242, allocations: 11.92 kB / 1.555 GB, free: 5.945 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6242, allocations: 4 kB / 1.555 GB, free: 5.941 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002817/0.627, allocations: 1.233 MB / 1.557 GB, free: 4.648 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004663/0.6275, allocations: 163.3 kB / 1.557 GB, free: 4.488 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.6276, allocations: 11.98 kB / 1.557 GB, free: 4.477 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008468/0.6284, allocations: 68.16 kB / 1.557 GB, free: 4.41 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.109e-05/0.6285, allocations: 43.81 kB / 1.557 GB, free: 4.367 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.962e-05/0.6286, allocations: 23.98 kB / 1.557 GB, free: 4.344 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0007861/0.6294, allocations: 0.5459 MB / 1.557 GB, free: 3.801 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.6294, allocations: 0 / 1.557 GB, free: 3.801 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0008835/0.6303, allocations: 243.9 kB / 1.558 GB, free: 3.562 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.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 (41): * Single equations (assignments): 41 * 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.003289/0.6335, allocations: 1.863 MB / 1.559 GB, free: 1.633 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001808/0.6353, allocations: 0.6662 MB / 1.56 GB, free: 0.9688 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.6354, allocations: 0.625 kB / 1.56 GB, free: 0.9688 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0009231/0.6363, allocations: 328.3 kB / 1.56 GB, free: 0.6484 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/0.6388, allocations: 0.5264 MB / 1.561 GB, free: 140 kB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/0.6525, allocations: 7.214 MB / 1.568 GB, free: 8.621 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005237/0.653, allocations: 450.8 kB / 1.568 GB, free: 8.156 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0008729/0.6539, allocations: 231.1 kB / 1.569 GB, free: 7.926 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005367/0.6544, allocations: 319.3 kB / 1.569 GB, free: 7.613 MB / 1.264 GB Notification: Performance of SimCode: time 8.62e-07/0.6544, allocations: 0 / 1.569 GB, free: 7.613 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06218/0.7166, allocations: 28.04 MB / 1.596 GB, free: 12.27 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.33, allocations: 11.72 kB / 1.596 GB, free: 12.27 MB / 1.295 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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: 20.416039867908694]