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.001458/0.001458, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001625/0.001625, allocations: 218.6 kB / 22.25 MB, free: 5.105 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.34/1.34, allocations: 230.6 MB / 256 MB, free: 7.828 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 2.907/2.907, allocations: 0.49 GB / 0.7951 GB, free: 35.53 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.001846/0.001846, allocations: 65.66 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3068, allocations: 176.1 MB / 1.326 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.1976/0.5044, allocations: 168.6 MB / 1.491 GB, free: 8.328 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.009179/0.5136, allocations: 5.453 MB / 1.496 GB, free: 2.863 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009647/0.5146, allocations: 55.5 kB / 1.496 GB, free: 2.809 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.5159, allocations: 0.5513 MB / 1.496 GB, free: 2.254 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003783/0.5197, allocations: 1.7 MB / 1.498 GB, free: 0.5469 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002965/0.5227, allocations: 1.238 MB / 1.499 GB, free: 15.32 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003197/0.5259, allocations: 2.626 MB / 1.502 GB, free: 12.68 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000948/0.5268, allocations: 0.6838 MB / 1.503 GB, free: 11.99 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002141/0.529, allocations: 1.285 MB / 1.504 GB, free: 10.7 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001747/0.5307, allocations: 0.8614 MB / 1.505 GB, free: 9.84 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001499/0.5309, allocations: 96 kB / 1.505 GB, free: 9.746 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002278/0.5331, allocations: 1.29 MB / 1.506 GB, free: 8.453 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004291/0.5336, allocations: 414.7 kB / 1.506 GB, free: 8.047 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005752/0.5341, allocations: 0.4979 MB / 1.507 GB, free: 7.547 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002469/0.5366, allocations: 1.993 MB / 1.509 GB, free: 5.547 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5366, allocations: 0 / 1.509 GB, free: 5.547 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5366, allocations: 0 / 1.509 GB, free: 5.547 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.378e-05/0.5366, allocations: 0 / 1.509 GB, free: 5.547 MB / 1.201 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.002333/0.539, allocations: 1.387 MB / 1.51 GB, free: 4.125 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.539, allocations: 12.03 kB / 1.51 GB, free: 4.113 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001675/0.5392, allocations: 126.6 kB / 1.51 GB, free: 3.98 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002552/0.5417, allocations: 418.9 kB / 1.511 GB, free: 3.57 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.5433, allocations: 0.7285 MB / 1.511 GB, free: 2.809 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.627e-05/0.5433, allocations: 58 kB / 1.511 GB, free: 2.754 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.5435, allocations: 72 kB / 1.512 GB, free: 2.684 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/0.5455, allocations: 1.371 MB / 1.513 GB, free: 1.199 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.5455, allocations: 0 / 1.513 GB, free: 1.199 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.367e-05/0.5456, allocations: 32 kB / 1.513 GB, free: 1.168 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.836e-05/0.5456, allocations: 34 kB / 1.513 GB, free: 1.137 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001875/0.5475, allocations: 0.8665 MB / 1.514 GB, free: 272 kB / 1.201 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.005629/0.5531, allocations: 2.764 MB / 1.516 GB, free: 13.43 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.5546, allocations: 0.5891 MB / 1.517 GB, free: 12.83 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007421/0.5554, allocations: 326.2 kB / 1.517 GB, free: 12.51 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001395/0.5555, allocations: 24.31 kB / 1.517 GB, free: 12.48 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.5555, allocations: 43.22 kB / 1.517 GB, free: 12.43 MB / 1.217 GB Notification: Performance of pre-optimization done (n=39): time 1.914e-06/0.5555, allocations: 0 / 1.517 GB, free: 12.43 MB / 1.217 GB Notification: Performance of matching and sorting (n=41): time 0.007489/0.563, allocations: 2.251 MB / 1.52 GB, free: 10.14 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.5631, allocations: 59.41 kB / 1.52 GB, free: 10.07 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009597/0.564, allocations: 0.7979 MB / 1.52 GB, free: 9.266 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.482e-05/0.5641, allocations: 33.7 kB / 1.52 GB, free: 9.227 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003611/0.5644, allocations: 464.4 kB / 1.521 GB, free: 8.766 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.5646, allocations: 150.7 kB / 1.521 GB, free: 8.617 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.5648, allocations: 110.3 kB / 1.521 GB, free: 8.504 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.5649, allocations: 322 kB / 1.521 GB, free: 8.184 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007428/0.5657, allocations: 301.1 kB / 1.522 GB, free: 7.891 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008465/0.5665, allocations: 468.4 kB / 1.522 GB, free: 7.383 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005114/0.5716, allocations: 1.799 MB / 1.524 GB, free: 5.547 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.5716, allocations: 7.938 kB / 1.524 GB, free: 5.539 MB / 1.217 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003124/0.5748, allocations: 1.039 MB / 1.525 GB, free: 4.488 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.5748, allocations: 8 kB / 1.525 GB, free: 4.48 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.5748, allocations: 4 kB / 1.525 GB, free: 4.477 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005789/0.5754, allocations: 184.8 kB / 1.525 GB, free: 4.293 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006743/0.576, allocations: 143.8 kB / 1.525 GB, free: 4.152 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003891/0.5799, allocations: 2.104 MB / 1.527 GB, free: 1.938 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008501/0.5808, allocations: 47.95 kB / 1.527 GB, free: 1.891 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.386e-05/0.5808, allocations: 23.98 kB / 1.527 GB, free: 1.867 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: 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.0004295/0.5813, allocations: 279 kB / 1.528 GB, free: 1.586 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.5814, allocations: 95.38 kB / 1.528 GB, free: 1.492 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001868/0.5816, allocations: 96.23 kB / 1.528 GB, free: 1.395 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.5816, allocations: 4 kB / 1.528 GB, free: 1.391 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5816, allocations: 4 kB / 1.528 GB, free: 1.387 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00273/0.5843, allocations: 0.8948 MB / 1.529 GB, free: 468 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005101/0.5894, allocations: 1.934 MB / 1.531 GB, free: 14.43 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.5895, allocations: 7.938 kB / 1.531 GB, free: 14.42 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006102/0.5901, allocations: 128.4 kB / 1.531 GB, free: 14.3 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005496/0.5906, allocations: 192.7 kB / 1.531 GB, free: 14.11 MB / 1.233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.681e-05/0.5907, allocations: 8 kB / 1.531 GB, free: 14.1 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003538/0.5942, allocations: 2.065 MB / 1.533 GB, free: 11.92 MB / 1.233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.5942, allocations: 4 kB / 1.533 GB, free: 11.92 MB / 1.233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003735/0.5979, allocations: 1.417 MB / 1.534 GB, free: 10.44 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004519/0.5984, allocations: 171.3 kB / 1.535 GB, free: 10.27 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.5985, allocations: 15.98 kB / 1.535 GB, free: 10.25 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008243/0.5993, allocations: 63.98 kB / 1.535 GB, free: 10.19 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.173e-05/0.5994, allocations: 40.06 kB / 1.535 GB, free: 10.15 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.798e-05/0.5995, allocations: 31.92 kB / 1.535 GB, free: 10.12 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.0007218/0.6002, allocations: 0.5575 MB / 1.535 GB, free: 9.566 MB / 1.233 GB Notification: Performance of sort global known variables: time 6.1e-08/0.6002, allocations: 0 / 1.535 GB, free: 9.566 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.0008187/0.601, allocations: 275.9 kB / 1.536 GB, free: 9.297 MB / 1.233 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.004259/0.6053, allocations: 2.046 MB / 1.537 GB, free: 7.184 MB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.001931/0.6072, allocations: 0.7901 MB / 1.538 GB, free: 6.379 MB / 1.233 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.6072, allocations: 8.062 kB / 1.538 GB, free: 6.371 MB / 1.233 GB Notification: Performance of simCode: created simulation system equations: time 0.0009045/0.6081, allocations: 435.3 kB / 1.539 GB, free: 5.934 MB / 1.233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/0.6104, allocations: 0.5544 MB / 1.539 GB, free: 5.391 MB / 1.233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/0.6253, allocations: 7.682 MB / 1.547 GB, free: 13.43 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.6258, allocations: 458.3 kB / 1.547 GB, free: 12.95 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0007276/0.6265, allocations: 207.1 kB / 1.547 GB, free: 12.75 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004499/0.627, allocations: 315.3 kB / 1.548 GB, free: 12.44 MB / 1.248 GB Notification: Performance of SimCode: time 6.01e-07/0.627, allocations: 0 / 1.548 GB, free: 12.44 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06885/0.6958, allocations: 30.5 MB / 1.577 GB, free: 14.59 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/13.06, allocations: 12 kB / 1.577 GB, free: 14.58 MB / 1.279 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: 19.175028288998874]