Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001222/0.001222, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001376/0.001376, allocations: 222.9 kB / 23.03 MB, free: 4.945 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.391/1.391, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.072/3.072, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 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.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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.001922/0.001922, allocations: 66.62 kB / 1.171 GB, free: 19.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3279, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2044/0.5323, allocations: 168.4 MB / 1.51 GB, free: 6.852 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01079/0.5431, allocations: 5.432 MB / 1.515 GB, free: 1.414 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001533/0.5446, allocations: 55.5 kB / 1.515 GB, free: 1.359 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001675/0.5463, allocations: 0.5591 MB / 1.516 GB, free: 0.7969 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004466/0.5508, allocations: 1.696 MB / 1.517 GB, free: 15.09 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003458/0.5542, allocations: 1.245 MB / 1.519 GB, free: 13.85 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003785/0.558, allocations: 2.628 MB / 1.521 GB, free: 11.21 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.5593, allocations: 0.6838 MB / 1.522 GB, free: 10.52 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002642/0.5619, allocations: 1.285 MB / 1.523 GB, free: 9.234 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002095/0.564, allocations: 0.8421 MB / 1.524 GB, free: 8.395 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002718/0.5643, allocations: 96 kB / 1.524 GB, free: 8.301 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002813/0.5671, allocations: 1.294 MB / 1.525 GB, free: 7.004 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0007775/0.5679, allocations: 414.7 kB / 1.526 GB, free: 6.598 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001056/0.5689, allocations: 0.4901 MB / 1.526 GB, free: 6.105 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003619/0.5725, allocations: 1.997 MB / 1.528 GB, free: 4.102 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.5725, allocations: 4 kB / 1.528 GB, free: 4.098 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5725, allocations: 0 / 1.528 GB, free: 4.098 MB / 1.217 GB Notification: Performance of Transformations before backend: time 4.777e-05/0.5726, allocations: 0 / 1.528 GB, free: 4.098 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.00289/0.5755, allocations: 1.391 MB / 1.529 GB, free: 2.668 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.5755, allocations: 8.031 kB / 1.529 GB, free: 2.66 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.261e-05/0.5755, allocations: 22 kB / 1.529 GB, free: 2.641 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001934/0.5757, allocations: 122.6 kB / 1.53 GB, free: 2.512 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002787/0.5785, allocations: 426.8 kB / 1.53 GB, free: 2.094 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001696/0.5802, allocations: 0.731 MB / 1.531 GB, free: 1.34 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.959e-05/0.5803, allocations: 58 kB / 1.531 GB, free: 1.285 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.5805, allocations: 79.92 kB / 1.531 GB, free: 1.207 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/0.5828, allocations: 1.352 MB / 1.532 GB, free: 15.74 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.5828, allocations: 7.891 kB / 1.532 GB, free: 15.73 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.5829, allocations: 32 kB / 1.532 GB, free: 15.7 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.717e-05/0.5829, allocations: 37.98 kB / 1.532 GB, free: 15.66 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002067/0.585, allocations: 0.8666 MB / 1.533 GB, free: 14.8 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.006305/0.5913, allocations: 2.772 MB / 1.536 GB, free: 11.96 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.5929, allocations: 0.5948 MB / 1.536 GB, free: 11.36 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007561/0.5936, allocations: 317.3 kB / 1.537 GB, free: 11.04 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001559/0.5938, allocations: 24.31 kB / 1.537 GB, free: 11.02 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/0.5938, allocations: 47.22 kB / 1.537 GB, free: 10.96 MB / 1.232 GB Notification: Performance of pre-optimization done (n=39): time 2.214e-06/0.5938, allocations: 3.938 kB / 1.537 GB, free: 10.96 MB / 1.232 GB Notification: Performance of matching and sorting (n=41): time 0.008502/0.6023, allocations: 2.247 MB / 1.539 GB, free: 8.672 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.6024, allocations: 59.41 kB / 1.539 GB, free: 8.602 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.6036, allocations: 0.798 MB / 1.54 GB, free: 7.793 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 8.243e-05/0.6037, allocations: 29.7 kB / 1.54 GB, free: 7.758 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003945/0.6041, allocations: 464.5 kB / 1.54 GB, free: 7.297 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/0.6043, allocations: 154.7 kB / 1.54 GB, free: 7.145 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.6045, allocations: 110.2 kB / 1.54 GB, free: 7.031 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.6047, allocations: 326 kB / 1.541 GB, free: 6.707 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007812/0.6054, allocations: 301.1 kB / 1.541 GB, free: 6.41 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008997/0.6063, allocations: 456.5 kB / 1.542 GB, free: 5.918 MB / 1.232 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.005427/0.6118, allocations: 1.803 MB / 1.543 GB, free: 4.074 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/0.6118, allocations: 8 kB / 1.543 GB, free: 4.066 MB / 1.232 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003402/0.6152, allocations: 1.035 MB / 1.544 GB, free: 3.02 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.6152, allocations: 8 kB / 1.544 GB, free: 3.012 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.6152, allocations: 4 kB / 1.544 GB, free: 3.008 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000661/0.6159, allocations: 184.8 kB / 1.544 GB, free: 2.824 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007112/0.6166, allocations: 135.8 kB / 1.545 GB, free: 2.691 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004099/0.6207, allocations: 2.105 MB / 1.547 GB, free: 480 kB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009916/0.6217, allocations: 47.95 kB / 1.547 GB, free: 432 kB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-05/0.6218, allocations: 23.98 kB / 1.547 GB, free: 408 kB / 1.232 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.0005103/0.6223, allocations: 277.6 kB / 1.547 GB, free: 120 kB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/0.6225, allocations: 95.38 kB / 1.547 GB, free: 24 kB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.6227, allocations: 92.23 kB / 1.547 GB, free: 15.93 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.6227, allocations: 8 kB / 1.547 GB, free: 15.92 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.6227, allocations: 0 / 1.547 GB, free: 15.92 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002888/0.6256, allocations: 0.895 MB / 1.548 GB, free: 14.99 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0053/0.6309, allocations: 1.954 MB / 1.55 GB, free: 12.95 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/0.6309, allocations: 7.984 kB / 1.55 GB, free: 12.94 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006561/0.6316, allocations: 124.2 kB / 1.55 GB, free: 12.82 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005645/0.6321, allocations: 184.7 kB / 1.55 GB, free: 12.63 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.794e-05/0.6322, allocations: 16 kB / 1.55 GB, free: 12.62 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00375/0.6359, allocations: 2.061 MB / 1.552 GB, free: 10.45 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.255e-06/0.636, allocations: 7.938 kB / 1.552 GB, free: 10.44 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004029/0.64, allocations: 1.417 MB / 1.554 GB, free: 8.957 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005376/0.6405, allocations: 171.3 kB / 1.554 GB, free: 8.789 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/0.6407, allocations: 12 kB / 1.554 GB, free: 8.777 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000898/0.6416, allocations: 60 kB / 1.554 GB, free: 8.719 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.6417, allocations: 43.81 kB / 1.554 GB, free: 8.676 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.621e-05/0.6418, allocations: 23.98 kB / 1.554 GB, free: 8.652 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0008383/0.6426, allocations: 0.5576 MB / 1.555 GB, free: 8.098 MB / 1.248 GB Notification: Performance of sort global known variables: time 6e-08/0.6426, allocations: 0 / 1.555 GB, free: 8.098 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001042/0.6437, allocations: 271.9 kB / 1.555 GB, free: 7.832 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 (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.004633/0.6483, allocations: 2.047 MB / 1.557 GB, free: 5.715 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002165/0.6505, allocations: 0.7856 MB / 1.558 GB, free: 4.918 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.6505, allocations: 0.5 kB / 1.558 GB, free: 4.918 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.6515, allocations: 451 kB / 1.558 GB, free: 4.465 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002699/0.6542, allocations: 0.5531 MB / 1.559 GB, free: 3.922 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01653/0.6707, allocations: 7.67 MB / 1.566 GB, free: 11.97 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006234/0.6713, allocations: 462.3 kB / 1.566 GB, free: 11.49 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0008415/0.6722, allocations: 211.1 kB / 1.567 GB, free: 11.28 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005198/0.6727, allocations: 319.3 kB / 1.567 GB, free: 10.97 MB / 1.264 GB Notification: Performance of SimCode: time 9.62e-07/0.6727, allocations: 0 / 1.567 GB, free: 10.97 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06684/0.7395, allocations: 29.89 MB / 1.596 GB, free: 13.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/15.05, allocations: 4.062 kB / 1.596 GB, free: 13.7 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 22.192152756033465]