Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.001515/0.001515, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001673/0.001673, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.406/1.406, allocations: 230.6 MB / 252.8 MB, free: 9.098 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.147/3.147, allocations: 0.49 GB / 0.7916 GB, free: 33.27 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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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.002006/0.002006, allocations: 69.02 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3173, allocations: 176.1 MB / 1.321 GB, free: 3.242 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2165/0.5338, allocations: 194.3 MB / 1.511 GB, free: 244 kB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.009659/0.5435, allocations: 5.763 MB / 1.516 GB, free: 10.46 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.5448, allocations: 67.44 kB / 1.516 GB, free: 10.39 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001665/0.5464, allocations: 0.5981 MB / 1.517 GB, free: 9.793 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004175/0.5506, allocations: 1.692 MB / 1.518 GB, free: 8.094 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003172/0.5538, allocations: 1.224 MB / 1.52 GB, free: 6.879 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003535/0.5573, allocations: 2.558 MB / 1.522 GB, free: 4.316 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.5585, allocations: 0.7457 MB / 1.523 GB, free: 3.559 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002489/0.561, allocations: 1.269 MB / 1.524 GB, free: 2.285 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002074/0.563, allocations: 0.8607 MB / 1.525 GB, free: 1.426 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003038/0.5633, allocations: 96 kB / 1.525 GB, free: 1.332 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0035/0.5668, allocations: 1.606 MB / 1.527 GB, free: 15.72 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006125/0.5675, allocations: 418.7 kB / 1.527 GB, free: 15.31 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0008839/0.5683, allocations: 0.5833 MB / 1.528 GB, free: 14.73 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003505/0.5718, allocations: 2.032 MB / 1.53 GB, free: 12.69 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.5719, allocations: 0 / 1.53 GB, free: 12.69 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5719, allocations: 0 / 1.53 GB, free: 12.69 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.578e-05/0.5719, allocations: 0 / 1.53 GB, free: 12.69 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002488/0.5744, allocations: 1.467 MB / 1.531 GB, free: 11.17 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.5744, allocations: 11.98 kB / 1.531 GB, free: 11.16 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001592/0.5746, allocations: 122.6 kB / 1.531 GB, free: 11.03 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002687/0.5773, allocations: 426.8 kB / 1.532 GB, free: 10.61 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.5788, allocations: 0.8084 MB / 1.532 GB, free: 9.758 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.966e-05/0.5789, allocations: 54 kB / 1.532 GB, free: 9.707 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.579, allocations: 79.94 kB / 1.532 GB, free: 9.629 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/0.5809, allocations: 0.9788 MB / 1.533 GB, free: 8.629 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.581, allocations: 4 kB / 1.533 GB, free: 8.625 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.275e-05/0.5811, allocations: 32 kB / 1.533 GB, free: 8.594 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.14e-05/0.5811, allocations: 29.98 kB / 1.534 GB, free: 8.566 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/0.5831, allocations: 0.8743 MB / 1.534 GB, free: 7.688 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.006323/0.5894, allocations: 3.498 MB / 1.538 GB, free: 4.008 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/0.5911, allocations: 0.5823 MB / 1.538 GB, free: 3.418 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008118/0.5919, allocations: 321.2 kB / 1.539 GB, free: 3.102 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000191/0.5921, allocations: 105.4 kB / 1.539 GB, free: 2.98 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.5921, allocations: 43.22 kB / 1.539 GB, free: 2.93 MB / 1.232 GB Notification: Performance of pre-optimization done (n=39): time 2.265e-06/0.5921, allocations: 0 / 1.539 GB, free: 2.93 MB / 1.232 GB Notification: Performance of matching and sorting (n=41): time 0.008424/0.6006, allocations: 2.404 MB / 1.541 GB, free: 460 kB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.6006, allocations: 59.41 kB / 1.541 GB, free: 388 kB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.6017, allocations: 0.798 MB / 1.542 GB, free: 15.57 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 8.891e-05/0.6018, allocations: 37.7 kB / 1.542 GB, free: 15.53 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003586/0.6021, allocations: 452.5 kB / 1.542 GB, free: 15.08 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.6023, allocations: 154.6 kB / 1.543 GB, free: 14.93 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.6025, allocations: 102.2 kB / 1.543 GB, free: 14.82 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.6027, allocations: 326 kB / 1.543 GB, free: 14.5 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008293/0.6035, allocations: 308.8 kB / 1.543 GB, free: 14.2 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008931/0.6044, allocations: 408.1 kB / 1.544 GB, free: 13.76 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.005493/0.6099, allocations: 1.868 MB / 1.546 GB, free: 11.84 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.6099, allocations: 0 / 1.546 GB, free: 11.84 MB / 1.248 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003299/0.6132, allocations: 1.039 MB / 1.547 GB, free: 10.79 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.6132, allocations: 12.09 kB / 1.547 GB, free: 10.78 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.6132, allocations: 7.969 kB / 1.547 GB, free: 10.77 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000604/0.6138, allocations: 180.7 kB / 1.547 GB, free: 10.59 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000694/0.6145, allocations: 147.8 kB / 1.547 GB, free: 10.45 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0042/0.6187, allocations: 2.234 MB / 1.549 GB, free: 8.07 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.6198, allocations: 51.95 kB / 1.549 GB, free: 8.02 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.146e-05/0.6198, allocations: 23.98 kB / 1.549 GB, free: 7.996 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: 12 * 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 (59): * Single equations (assignments): 58 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004587/0.6203, allocations: 269.6 kB / 1.549 GB, free: 7.723 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001771/0.6205, allocations: 95.38 kB / 1.549 GB, free: 7.629 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/0.6207, allocations: 96.23 kB / 1.55 GB, free: 7.535 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.6207, allocations: 4 kB / 1.55 GB, free: 7.531 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.6207, allocations: 0 / 1.55 GB, free: 7.531 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002937/0.6236, allocations: 0.8987 MB / 1.55 GB, free: 6.598 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005482/0.6291, allocations: 2.11 MB / 1.552 GB, free: 4.387 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.6291, allocations: 7.938 kB / 1.553 GB, free: 4.379 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006474/0.6297, allocations: 124.4 kB / 1.553 GB, free: 4.258 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005741/0.6303, allocations: 192.6 kB / 1.553 GB, free: 4.066 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.496e-05/0.6304, allocations: 15.98 kB / 1.553 GB, free: 4.051 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003822/0.6342, allocations: 2.183 MB / 1.555 GB, free: 1.727 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.6342, allocations: 4 kB / 1.555 GB, free: 1.723 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004078/0.6383, allocations: 1.413 MB / 1.556 GB, free: 252 kB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005302/0.6388, allocations: 244.5 kB / 1.557 GB, free: 15.99 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.6389, allocations: 16 kB / 1.557 GB, free: 15.97 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008649/0.6398, allocations: 55.94 kB / 1.557 GB, free: 15.92 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.6399, allocations: 43.83 kB / 1.557 GB, free: 15.88 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-05/0.64, allocations: 28.17 kB / 1.557 GB, free: 15.85 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0007625/0.6407, allocations: 0.5576 MB / 1.557 GB, free: 15.29 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6407, allocations: 0 / 1.557 GB, free: 15.29 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0009045/0.6416, allocations: 271.9 kB / 1.558 GB, free: 15.03 MB / 1.264 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 (37): * Single equations (assignments): 36 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004513/0.6461, allocations: 2.057 MB / 1.56 GB, free: 12.9 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002127/0.6483, allocations: 0.782 MB / 1.56 GB, free: 12.11 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/0.6483, allocations: 3.938 kB / 1.56 GB, free: 12.1 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0009859/0.6493, allocations: 439.6 kB / 1.561 GB, free: 11.66 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002624/0.6519, allocations: 0.5449 MB / 1.561 GB, free: 11.13 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/0.6685, allocations: 7.68 MB / 1.569 GB, free: 3.168 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007073/0.6692, allocations: 1.052 MB / 1.57 GB, free: 2.09 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0007785/0.67, allocations: 199.2 kB / 1.57 GB, free: 1.891 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004756/0.6705, allocations: 315.3 kB / 1.57 GB, free: 1.582 MB / 1.264 GB Notification: Performance of SimCode: time 8.62e-07/0.6705, allocations: 0 / 1.57 GB, free: 1.582 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07051/0.741, allocations: 28.02 MB / 1.598 GB, free: 6.051 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.38, allocations: 14.89 kB / 1.598 GB, free: 6.039 MB / 1.295 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.393056239001453]