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.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.001246/0.001246, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.00131/0.00131, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.374/1.374, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.816/2.816, allocations: 0.5003 GB / 0.8026 GB, free: 6.734 MB / 0.6387 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.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",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.001912/0.001912, allocations: 63.91 kB / 1.165 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7945/0.7964, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1898/0.9862, allocations: 174.5 MB / 1.511 GB, free: 9.699 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006735/0.993, allocations: 4.321 MB / 1.515 GB, free: 5.371 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007004/0.9937, allocations: 31.75 kB / 1.515 GB, free: 5.34 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.9948, allocations: 365.9 kB / 1.515 GB, free: 4.98 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002581/0.9974, allocations: 1.027 MB / 1.516 GB, free: 3.949 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002124/0.9995, allocations: 0.825 MB / 1.517 GB, free: 3.129 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001774/1.001, allocations: 1.29 MB / 1.518 GB, free: 1.836 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000661/1.002, allocations: 411.4 kB / 1.519 GB, free: 1.434 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/1.003, allocations: 0.7395 MB / 1.519 GB, free: 0.6914 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/1.004, allocations: 477.9 kB / 1.52 GB, free: 232 kB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001163/1.005, allocations: 52 kB / 1.52 GB, free: 180 kB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/1.006, allocations: 0.9393 MB / 1.521 GB, free: 15.23 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000258/1.006, allocations: 215.3 kB / 1.521 GB, free: 15.02 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004302/1.007, allocations: 330.5 kB / 1.521 GB, free: 14.7 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001701/1.008, allocations: 1.141 MB / 1.522 GB, free: 13.55 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/1.009, allocations: 4 kB / 1.522 GB, free: 13.55 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.142e-06/1.009, allocations: 0 / 1.522 GB, free: 13.55 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.781e-05/1.009, allocations: 0 / 1.522 GB, free: 13.55 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001791/1.01, allocations: 0.9703 MB / 1.523 GB, free: 12.53 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/1.01, allocations: 12.03 kB / 1.523 GB, free: 12.52 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.647e-05/1.01, allocations: 13 kB / 1.523 GB, free: 12.5 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/1.01, allocations: 86.52 kB / 1.523 GB, free: 12.41 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001687/1.012, allocations: 271.3 kB / 1.524 GB, free: 12.14 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008885/1.013, allocations: 0.4978 MB / 1.524 GB, free: 11.61 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.619e-05/1.013, allocations: 29 kB / 1.524 GB, free: 11.58 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.418e-05/1.013, allocations: 40 kB / 1.524 GB, free: 11.54 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/1.014, allocations: 0.6107 MB / 1.525 GB, free: 10.91 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/1.014, allocations: 3.984 kB / 1.525 GB, free: 10.91 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.23e-05/1.015, allocations: 23.98 kB / 1.525 GB, free: 10.88 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/1.015, allocations: 17 kB / 1.525 GB, free: 10.87 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/1.016, allocations: 0.5464 MB / 1.525 GB, free: 10.32 MB / 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.004059/1.02, allocations: 2.277 MB / 1.528 GB, free: 7.91 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009472/1.021, allocations: 270.3 kB / 1.528 GB, free: 7.637 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000555/1.022, allocations: 164.7 kB / 1.528 GB, free: 7.473 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/1.022, allocations: 11.98 kB / 1.528 GB, free: 7.461 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/1.022, allocations: 42.44 kB / 1.528 GB, free: 7.41 MB / 1.201 GB Notification: Performance of pre-optimization done (n=11): time 1.684e-06/1.022, allocations: 0 / 1.528 GB, free: 7.41 MB / 1.201 GB Notification: Performance of matching and sorting (n=11): time 0.005251/1.027, allocations: 1.089 MB / 1.529 GB, free: 6.293 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/1.027, allocations: 85.05 kB / 1.529 GB, free: 6.191 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007261/1.028, allocations: 0.5496 MB / 1.53 GB, free: 5.629 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.914e-05/1.028, allocations: 29.7 kB / 1.53 GB, free: 5.594 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/1.028, allocations: 304.1 kB / 1.53 GB, free: 5.293 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.48e-05/1.028, allocations: 43.64 kB / 1.53 GB, free: 5.25 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/1.028, allocations: 65.64 kB / 1.53 GB, free: 5.18 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001703/1.028, allocations: 354.8 kB / 1.531 GB, free: 4.824 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006328/1.029, allocations: 187.8 kB / 1.531 GB, free: 4.641 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006902/1.03, allocations: 269.3 kB / 1.531 GB, free: 4.344 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/1.031, allocations: 400.2 kB / 1.531 GB, free: 3.922 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/1.031, allocations: 3.938 kB / 1.531 GB, free: 3.918 MB / 1.201 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002812/1.034, allocations: 0.726 MB / 1.532 GB, free: 3.184 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/1.034, allocations: 8 kB / 1.532 GB, free: 3.176 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.034, allocations: 0 / 1.532 GB, free: 3.176 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006783/1.034, allocations: 196.7 kB / 1.532 GB, free: 2.98 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000371/1.035, allocations: 59.95 kB / 1.532 GB, free: 2.922 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00417/1.039, allocations: 2.245 MB / 1.535 GB, free: 0.5391 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006132/1.04, allocations: 83.56 kB / 1.535 GB, free: 468 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/1.04, allocations: 12 kB / 1.535 GB, free: 456 kB / 1.201 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.0002678/1.04, allocations: 189.7 kB / 1.535 GB, free: 256 kB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/1.04, allocations: 51.66 kB / 1.535 GB, free: 204 kB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/1.04, allocations: 56.03 kB / 1.535 GB, free: 148 kB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/1.04, allocations: 3.938 kB / 1.535 GB, free: 144 kB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/1.04, allocations: 4 kB / 1.535 GB, free: 140 kB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/1.04, allocations: 0 / 1.535 GB, free: 140 kB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00325/1.043, allocations: 1.129 MB / 1.536 GB, free: 14.94 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/1.043, allocations: 0 / 1.536 GB, free: 14.94 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/1.044, allocations: 36.05 kB / 1.536 GB, free: 14.91 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005601/1.044, allocations: 188.7 kB / 1.536 GB, free: 14.72 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/1.044, allocations: 3.938 kB / 1.536 GB, free: 14.71 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003835/1.048, allocations: 2.187 MB / 1.538 GB, free: 12.39 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.048, allocations: 8.016 kB / 1.538 GB, free: 12.38 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002579/1.051, allocations: 0.7003 MB / 1.539 GB, free: 11.65 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000252/1.051, allocations: 172.6 kB / 1.539 GB, free: 11.46 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.488e-05/1.051, allocations: 3.938 kB / 1.539 GB, free: 11.46 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005987/1.051, allocations: 53.97 kB / 1.539 GB, free: 11.41 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/1.052, allocations: 15.98 kB / 1.539 GB, free: 11.39 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/1.052, allocations: 11.98 kB / 1.539 GB, free: 11.38 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004756/1.052, allocations: 394.8 kB / 1.54 GB, free: 11 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/1.052, allocations: 0 / 1.54 GB, free: 11 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006285/1.053, allocations: 179.8 kB / 1.54 GB, free: 10.82 MB / 1.217 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.003092/1.056, allocations: 1.3 MB / 1.541 GB, free: 9.488 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001599/1.057, allocations: 0.5202 MB / 1.542 GB, free: 8.957 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/1.057, allocations: 0 / 1.542 GB, free: 8.957 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0007571/1.058, allocations: 302.9 kB / 1.542 GB, free: 8.648 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/1.06, allocations: 314.4 kB / 1.542 GB, free: 8.348 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/1.071, allocations: 5.069 MB / 1.547 GB, free: 3.121 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/1.072, allocations: 0.8621 MB / 1.548 GB, free: 2.23 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003736/1.072, allocations: 116.4 kB / 1.548 GB, free: 2.117 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002483/1.072, allocations: 167.4 kB / 1.548 GB, free: 1.953 MB / 1.217 GB Notification: Performance of SimCode: time 7.31e-07/1.072, allocations: 0 / 1.548 GB, free: 1.953 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04376/1.116, allocations: 17.01 MB / 1.565 GB, free: 1.316 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/13.08, allocations: 8.422 kB / 1.565 GB, free: 1.309 MB / 1.232 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/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.131421231024433]