Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 107.7 kB / 16.4 MB, free: 6.492 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 192.5 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.733/2.733, allocations: 489 MB / 0.7678 GB, free: 0 / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 60.14 kB / 1.101 GB, free: 5.902 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.779/0.781, allocations: 163.8 MB / 1.261 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1994/0.9804, allocations: 171 MB / 1.428 GB, free: 11.57 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.007018/0.9875, allocations: 4.301 MB / 1.432 GB, free: 7.254 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007641/0.9883, allocations: 19.94 kB / 1.432 GB, free: 7.234 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.9895, allocations: 350 kB / 1.433 GB, free: 6.891 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002576/0.9921, allocations: 1.003 MB / 1.434 GB, free: 5.883 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002262/0.9943, allocations: 0.809 MB / 1.434 GB, free: 5.078 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001936/0.9963, allocations: 1.288 MB / 1.436 GB, free: 3.785 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007376/0.997, allocations: 490 kB / 1.436 GB, free: 3.301 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001446/0.9985, allocations: 0.6927 MB / 1.437 GB, free: 2.605 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/0.9997, allocations: 449.7 kB / 1.437 GB, free: 2.168 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.9999, allocations: 52 kB / 1.437 GB, free: 2.117 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/1.002, allocations: 0.9121 MB / 1.438 GB, free: 1.203 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000273/1.002, allocations: 219.3 kB / 1.438 GB, free: 0.9883 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0003971/1.002, allocations: 326.5 kB / 1.439 GB, free: 0.668 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001821/1.004, allocations: 1.141 MB / 1.44 GB, free: 15.52 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.004, allocations: 0 / 1.44 GB, free: 15.52 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.184e-06/1.004, allocations: 0 / 1.44 GB, free: 15.52 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.264e-05/1.004, allocations: 0 / 1.44 GB, free: 15.52 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001865/1.006, allocations: 0.9611 MB / 1.441 GB, free: 14.51 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/1.006, allocations: 12.03 kB / 1.441 GB, free: 14.5 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001095/1.006, allocations: 78.53 kB / 1.441 GB, free: 14.41 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00163/1.008, allocations: 271.3 kB / 1.441 GB, free: 14.15 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009581/1.009, allocations: 0.49 MB / 1.442 GB, free: 13.62 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.117e-05/1.009, allocations: 37 kB / 1.442 GB, free: 13.59 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.957e-05/1.009, allocations: 39.98 kB / 1.442 GB, free: 13.55 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/1.01, allocations: 0.6184 MB / 1.442 GB, free: 12.9 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/1.01, allocations: 0 / 1.442 GB, free: 12.9 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-05/1.01, allocations: 31.92 kB / 1.442 GB, free: 12.87 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.551e-05/1.011, allocations: 17 kB / 1.442 GB, free: 12.85 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/1.012, allocations: 0.5503 MB / 1.443 GB, free: 12.3 MB / 1.154 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.004156/1.016, allocations: 2.269 MB / 1.445 GB, free: 9.906 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009616/1.017, allocations: 282.3 kB / 1.445 GB, free: 9.621 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005614/1.018, allocations: 168.7 kB / 1.445 GB, free: 9.453 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/1.018, allocations: 8 kB / 1.445 GB, free: 9.445 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/1.018, allocations: 34.56 kB / 1.445 GB, free: 9.402 MB / 1.154 GB Notification: Performance of pre-optimization done (n=11): time 2.665e-06/1.018, allocations: 0 / 1.445 GB, free: 9.402 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.005254/1.023, allocations: 1.092 MB / 1.447 GB, free: 8.281 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/1.023, allocations: 81.11 kB / 1.447 GB, free: 8.184 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007424/1.024, allocations: 0.5573 MB / 1.447 GB, free: 7.617 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.141e-05/1.024, allocations: 25.7 kB / 1.447 GB, free: 7.586 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/1.024, allocations: 308.1 kB / 1.447 GB, free: 7.281 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.284e-05/1.024, allocations: 43.64 kB / 1.448 GB, free: 7.238 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/1.024, allocations: 61.66 kB / 1.448 GB, free: 7.172 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001786/1.025, allocations: 354.8 kB / 1.448 GB, free: 6.816 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006113/1.025, allocations: 187.8 kB / 1.448 GB, free: 6.633 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006901/1.026, allocations: 273.6 kB / 1.448 GB, free: 6.332 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/1.027, allocations: 401.5 kB / 1.449 GB, free: 5.91 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/1.027, allocations: 4 kB / 1.449 GB, free: 5.906 MB / 1.154 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002736/1.03, allocations: 0.7294 MB / 1.449 GB, free: 5.168 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/1.03, allocations: 4 kB / 1.449 GB, free: 5.164 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/1.03, allocations: 4 kB / 1.449 GB, free: 5.16 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007112/1.031, allocations: 184.8 kB / 1.45 GB, free: 4.977 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003763/1.031, allocations: 75.88 kB / 1.45 GB, free: 4.902 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00422/1.035, allocations: 2.238 MB / 1.452 GB, free: 2.527 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007151/1.036, allocations: 79.64 kB / 1.452 GB, free: 2.449 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.066e-05/1.036, allocations: 12 kB / 1.452 GB, free: 2.438 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (26): * Single equations (assignments): 25 * 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.0003667/1.036, allocations: 189.7 kB / 1.452 GB, free: 2.242 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/1.037, allocations: 55.72 kB / 1.452 GB, free: 2.188 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/1.037, allocations: 47.98 kB / 1.452 GB, free: 2.137 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/1.037, allocations: 7.984 kB / 1.452 GB, free: 2.129 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/1.037, allocations: 0 / 1.452 GB, free: 2.129 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/1.037, allocations: 3.938 kB / 1.452 GB, free: 2.125 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003302/1.04, allocations: 1.133 MB / 1.453 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/1.04, allocations: 0 / 1.453 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/1.04, allocations: 40.02 kB / 1.453 GB, free: 0.8867 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005733/1.041, allocations: 192.6 kB / 1.454 GB, free: 0.6953 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/1.041, allocations: 0 / 1.454 GB, free: 0.6953 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003901/1.045, allocations: 2.187 MB / 1.456 GB, free: 14.36 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/1.045, allocations: 4.031 kB / 1.456 GB, free: 14.36 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002592/1.047, allocations: 0.7042 MB / 1.456 GB, free: 13.63 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003167/1.048, allocations: 164.7 kB / 1.457 GB, free: 13.45 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/1.048, allocations: 8 kB / 1.457 GB, free: 13.44 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006015/1.049, allocations: 43.89 kB / 1.457 GB, free: 13.4 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.418e-05/1.049, allocations: 15.98 kB / 1.457 GB, free: 13.38 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.471e-05/1.049, allocations: 11.98 kB / 1.457 GB, free: 13.37 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0005643/1.049, allocations: 398.8 kB / 1.457 GB, free: 12.98 MB / 1.17 GB Notification: Performance of sort global known variables: time 3.61e-07/1.049, allocations: 0 / 1.457 GB, free: 12.98 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0007295/1.05, allocations: 183.8 kB / 1.457 GB, free: 12.8 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (7): * Single equations (assignments): 6 * 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.003366/1.053, allocations: 1.324 MB / 1.459 GB, free: 11.45 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001707/1.055, allocations: 0.5089 MB / 1.459 GB, free: 10.93 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/1.055, allocations: 8 kB / 1.459 GB, free: 10.93 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007808/1.056, allocations: 306.5 kB / 1.459 GB, free: 10.61 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/1.058, allocations: 312.5 kB / 1.46 GB, free: 10.32 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/1.07, allocations: 5.087 MB / 1.465 GB, free: 5.074 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006013/1.071, allocations: 0.8621 MB / 1.465 GB, free: 4.184 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0004695/1.071, allocations: 92.53 kB / 1.466 GB, free: 4.09 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/1.071, allocations: 163.4 kB / 1.466 GB, free: 3.934 MB / 1.17 GB Notification: Performance of SimCode: time 6.81e-07/1.071, allocations: 4 kB / 1.466 GB, free: 3.93 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05455/1.126, allocations: 16.9 MB / 1.482 GB, free: 3.387 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/13.39, allocations: 18.61 kB / 1.482 GB, free: 3.371 MB / 1.186 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.227603547042236]