Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.0007933/0.0007933, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008215/0.0008215, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.867/0.867, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 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 1.75/1.75, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.274e-05/1.404e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.589/0.589, allocations: 168.3 MB / 1.164 GB, free: 9.891 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.008295/0.5973, allocations: 5.411 MB / 1.169 GB, free: 6.215 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.5983, allocations: 53.81 kB / 1.169 GB, free: 6.188 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.5996, allocations: 0.5531 MB / 1.17 GB, free: 5.883 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.003821/0.6035, allocations: 1.725 MB / 1.172 GB, free: 4.918 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.002976/0.6064, allocations: 1.266 MB / 1.173 GB, free: 4.262 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.003054/0.6095, allocations: 2.61 MB / 1.175 GB, free: 3.047 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.6106, allocations: 0.748 MB / 1.176 GB, free: 2.68 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002308/0.6129, allocations: 1.574 MB / 1.178 GB, free: 1.977 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001667/0.6146, allocations: 0.7983 MB / 1.178 GB, free: 1.727 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001986/0.6148, allocations: 107.6 kB / 1.179 GB, free: 1.727 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00221/0.617, allocations: 1.288 MB / 1.18 GB, free: 1.301 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.000468/0.6174, allocations: 0.5404 MB / 1.18 GB, free: 1.055 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0004973/0.6179, allocations: 469.6 kB / 1.181 GB, free: 0.8672 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.0028/0.6207, allocations: 2.226 MB / 1.183 GB, free: 108 kB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6207, allocations: 1 kB / 1.183 GB, free: 108 kB / 1.026 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6207, allocations: 4 kB / 1.183 GB, free: 104 kB / 1.026 GB Notification: Performance of Transformations before backend: time 4.248e-05/0.6208, allocations: 0 / 1.183 GB, free: 104 kB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002262/0.623, allocations: 1.47 MB / 1.184 GB, free: 15.16 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.6231, allocations: 10.56 kB / 1.184 GB, free: 15.16 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001439/0.6232, allocations: 146.6 kB / 1.185 GB, free: 15.06 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001595/0.6248, allocations: 478.1 kB / 1.185 GB, free: 14.97 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.6259, allocations: 0.7711 MB / 1.186 GB, free: 14.52 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.525e-05/0.6259, allocations: 66.06 kB / 1.186 GB, free: 14.49 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.626, allocations: 91.55 kB / 1.186 GB, free: 14.46 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.6277, allocations: 1.557 MB / 1.187 GB, free: 13.54 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.6277, allocations: 1.406 kB / 1.187 GB, free: 13.54 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.64e-05/0.6278, allocations: 37.38 kB / 1.187 GB, free: 13.51 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.454e-05/0.6278, allocations: 38.95 kB / 1.187 GB, free: 13.5 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.6294, allocations: 1.062 MB / 1.189 GB, free: 13.18 MB / 1.042 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.004287/0.6336, allocations: 3.319 MB / 1.192 GB, free: 11.4 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.6347, allocations: 0.72 MB / 1.192 GB, free: 11.16 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005443/0.6353, allocations: 393.5 kB / 1.193 GB, free: 11.04 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.6354, allocations: 21.34 kB / 1.193 GB, free: 11.04 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.6354, allocations: 39.19 kB / 1.193 GB, free: 11 MB / 1.042 GB Notification: Performance of pre-optimization done (n=43): time 1.824e-06/0.6354, allocations: 0 / 1.193 GB, free: 11 MB / 1.042 GB Notification: Performance of matching and sorting (n=45): time 0.003202/0.6386, allocations: 2.118 MB / 1.195 GB, free: 10.14 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.6387, allocations: 57.81 kB / 1.195 GB, free: 10.07 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007585/0.6394, allocations: 0.8706 MB / 1.196 GB, free: 9.727 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 4.438e-05/0.6395, allocations: 38.89 kB / 1.196 GB, free: 9.688 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.6397, allocations: 0.4948 MB / 1.196 GB, free: 9.289 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.6398, allocations: 167.5 kB / 1.197 GB, free: 9.156 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.64, allocations: 124.1 kB / 1.197 GB, free: 9.09 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.999e-05/0.6401, allocations: 335.7 kB / 1.197 GB, free: 8.77 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005273/0.6406, allocations: 368 kB / 1.197 GB, free: 8.621 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000583/0.6412, allocations: 0.5505 MB / 1.198 GB, free: 8.219 MB / 1.042 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.003212/0.6444, allocations: 2.183 MB / 1.2 GB, free: 7.105 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6444, allocations: 5.656 kB / 1.2 GB, free: 7.105 MB / 1.042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00123/0.6456, allocations: 0.9878 MB / 1.201 GB, free: 6.609 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.6456, allocations: 5.156 kB / 1.201 GB, free: 6.609 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.6456, allocations: 7.219 kB / 1.201 GB, free: 6.605 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.6456, allocations: 8.312 kB / 1.201 GB, free: 6.605 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000436/0.6461, allocations: 194.9 kB / 1.201 GB, free: 6.547 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.6461, allocations: 13.48 kB / 1.201 GB, free: 6.539 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004161/0.6465, allocations: 67.78 kB / 1.201 GB, free: 6.508 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/0.6465, allocations: 26.73 kB / 1.201 GB, free: 6.5 MB / 1.042 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: 17 * 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 (73): * Single equations (assignments): 73 * 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.0002669/0.6468, allocations: 307.1 kB / 1.202 GB, free: 6.273 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.434e-05/0.6469, allocations: 98.33 kB / 1.202 GB, free: 6.223 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.647, allocations: 108.8 kB / 1.202 GB, free: 6.145 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.647, allocations: 5.531 kB / 1.202 GB, free: 6.145 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.647, allocations: 4 kB / 1.202 GB, free: 6.141 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00106/0.6481, allocations: 1.02 MB / 1.203 GB, free: 5.387 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002362/0.6505, allocations: 1.972 MB / 1.205 GB, free: 4.137 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.6505, allocations: 3.969 kB / 1.205 GB, free: 4.137 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003979/0.6509, allocations: 166.7 kB / 1.205 GB, free: 4.086 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.6509, allocations: 5.938 kB / 1.205 GB, free: 4.086 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.6509, allocations: 13.84 kB / 1.205 GB, free: 4.078 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.6509, allocations: 12.89 kB / 1.205 GB, free: 4.07 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.6509, allocations: 5.562 kB / 1.205 GB, free: 4.07 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.6525, allocations: 1.408 MB / 1.206 GB, free: 3.23 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002471/0.6527, allocations: 179.5 kB / 1.206 GB, free: 3.117 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.296e-05/0.6528, allocations: 9.188 kB / 1.206 GB, free: 3.113 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004086/0.6532, allocations: 69.17 kB / 1.207 GB, free: 3.082 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.676e-05/0.6533, allocations: 43.69 kB / 1.207 GB, free: 3.055 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.523e-05/0.6533, allocations: 30.52 kB / 1.207 GB, free: 3.043 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0004662/0.6538, allocations: 0.5978 MB / 1.207 GB, free: 2.715 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.6538, allocations: 0 / 1.207 GB, free: 2.715 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0005344/0.6543, allocations: 273 kB / 1.207 GB, free: 2.688 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (45): * Single equations (assignments): 45 * 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.002147/0.6565, allocations: 2.063 MB / 1.209 GB, free: 1.258 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.00111/0.6576, allocations: 0.7927 MB / 1.21 GB, free: 0.8906 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6576, allocations: 0 / 1.21 GB, free: 0.8906 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004799/0.6581, allocations: 384.1 kB / 1.211 GB, free: 0.7148 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.6594, allocations: 0.5784 MB / 1.211 GB, free: 432 kB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008361/0.6678, allocations: 8.133 MB / 1.219 GB, free: 10.46 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.6681, allocations: 0.5121 MB / 1.22 GB, free: 9.918 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0005191/0.6686, allocations: 263.7 kB / 1.22 GB, free: 9.66 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003606/0.669, allocations: 356.4 kB / 1.22 GB, free: 9.312 MB / 1.057 GB Notification: Performance of SimCode: time 5.91e-07/0.669, allocations: 0 / 1.22 GB, free: 9.312 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04219/0.7112, allocations: 31.76 MB / 1.251 GB, free: 10.23 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.277/7.988, allocations: 10.5 kB / 1.251 GB, free: 10.22 MB / 1.089 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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: 11.995567831210792]