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.001318/0.001318, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001398/0.001398, allocations: 159.6 kB / 23.01 MB, free: 4.594 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.452/1.452, allocations: 177.2 MB / 203.4 MB, free: 8.992 MB / 190.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.883/2.883, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 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: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [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.003422/0.003422, allocations: 77.91 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8729/0.8763, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.186/1.062, allocations: 150.9 MB / 1.334 GB, free: 14.95 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006808/1.069, allocations: 4.017 MB / 1.338 GB, free: 10.92 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008691/1.07, allocations: 31.75 kB / 1.338 GB, free: 10.89 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001305/1.071, allocations: 334 kB / 1.338 GB, free: 10.56 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003416/1.075, allocations: 1.034 MB / 1.339 GB, free: 9.52 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00277/1.077, allocations: 0.832 MB / 1.34 GB, free: 8.691 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00187/1.079, allocations: 1.302 MB / 1.341 GB, free: 7.387 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006511/1.08, allocations: 375.7 kB / 1.342 GB, free: 7.016 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001442/1.081, allocations: 0.7551 MB / 1.342 GB, free: 6.258 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/1.082, allocations: 459.4 kB / 1.343 GB, free: 5.812 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 9.701e-05/1.083, allocations: 52 kB / 1.343 GB, free: 5.762 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/1.084, allocations: 0.7521 MB / 1.344 GB, free: 5.008 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002512/1.084, allocations: 219.3 kB / 1.344 GB, free: 4.793 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003432/1.085, allocations: 274.8 kB / 1.344 GB, free: 4.523 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001555/1.086, allocations: 1.121 MB / 1.345 GB, free: 3.398 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/1.086, allocations: 0 / 1.345 GB, free: 3.398 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.232e-06/1.086, allocations: 3.938 kB / 1.345 GB, free: 3.395 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.416e-05/1.086, allocations: 0 / 1.345 GB, free: 3.395 MB / 1.186 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.001696/1.088, allocations: 0.8897 MB / 1.346 GB, free: 2.473 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/1.088, allocations: 8.031 kB / 1.346 GB, free: 2.465 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001715/1.09, allocations: 271.3 kB / 1.346 GB, free: 2.199 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009782/1.091, allocations: 438.5 kB / 1.347 GB, free: 1.746 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.804e-05/1.091, allocations: 37 kB / 1.347 GB, free: 1.711 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-05/1.091, allocations: 36 kB / 1.347 GB, free: 1.676 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/1.092, allocations: 0.8985 MB / 1.348 GB, free: 0.6875 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/1.092, allocations: 0 / 1.348 GB, free: 0.6875 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.002e-05/1.092, allocations: 20 kB / 1.348 GB, free: 0.668 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.552e-05/1.092, allocations: 20.98 kB / 1.348 GB, free: 0.6445 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/1.094, allocations: 0.5464 MB / 1.348 GB, free: 100 kB / 1.186 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.004032/1.098, allocations: 1.799 MB / 1.35 GB, free: 14.24 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/1.099, allocations: 274.3 kB / 1.35 GB, free: 13.96 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005963/1.1, allocations: 164.7 kB / 1.35 GB, free: 13.8 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.153e-05/1.1, allocations: 4 kB / 1.35 GB, free: 13.79 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/1.1, allocations: 42.48 kB / 1.351 GB, free: 13.74 MB / 1.201 GB Notification: Performance of pre-optimization done (n=11): time 1.452e-06/1.1, allocations: 4 kB / 1.351 GB, free: 13.74 MB / 1.201 GB Notification: Performance of matching and sorting (n=11): time 0.005498/1.105, allocations: 1.001 MB / 1.351 GB, free: 12.73 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/1.105, allocations: 81.11 kB / 1.352 GB, free: 12.63 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005066/1.106, allocations: 417.8 kB / 1.352 GB, free: 12.21 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/1.106, allocations: 33.7 kB / 1.352 GB, free: 12.18 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002541/1.106, allocations: 315.6 kB / 1.352 GB, free: 11.86 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.131e-05/1.106, allocations: 51.64 kB / 1.352 GB, free: 11.81 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/1.106, allocations: 53.66 kB / 1.352 GB, free: 11.75 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001807/1.106, allocations: 354.7 kB / 1.353 GB, free: 11.4 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006639/1.107, allocations: 183.8 kB / 1.353 GB, free: 11.22 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007344/1.108, allocations: 292 kB / 1.353 GB, free: 10.89 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/1.109, allocations: 408.2 kB / 1.354 GB, free: 10.46 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.109, allocations: 0 / 1.354 GB, free: 10.46 MB / 1.201 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002873/1.112, allocations: 0.7182 MB / 1.354 GB, free: 9.738 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/1.112, allocations: 8 kB / 1.354 GB, free: 9.73 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/1.112, allocations: 4 kB / 1.354 GB, free: 9.727 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007273/1.113, allocations: 180.8 kB / 1.354 GB, free: 9.547 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004297/1.113, allocations: 71.89 kB / 1.355 GB, free: 9.477 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004368/1.117, allocations: 2.081 MB / 1.357 GB, free: 7.293 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005972/1.118, allocations: 67.78 kB / 1.357 GB, free: 7.227 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/1.118, allocations: 8 kB / 1.357 GB, free: 7.219 MB / 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.0002837/1.118, allocations: 197.6 kB / 1.357 GB, free: 7.016 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.714e-05/1.118, allocations: 39.77 kB / 1.357 GB, free: 6.977 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.07e-05/1.119, allocations: 43.27 kB / 1.357 GB, free: 6.934 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/1.119, allocations: 0 / 1.357 GB, free: 6.934 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.119, allocations: 11.94 kB / 1.357 GB, free: 6.922 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.119, allocations: 0 / 1.357 GB, free: 6.922 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003251/1.122, allocations: 0.9919 MB / 1.358 GB, free: 5.883 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/1.122, allocations: 4 kB / 1.358 GB, free: 5.879 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/1.122, allocations: 35.95 kB / 1.358 GB, free: 5.844 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005895/1.123, allocations: 184.7 kB / 1.358 GB, free: 5.66 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/1.123, allocations: 4 kB / 1.358 GB, free: 5.656 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003923/1.127, allocations: 2.038 MB / 1.36 GB, free: 3.516 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.127, allocations: 4.062 kB / 1.36 GB, free: 3.512 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002702/1.129, allocations: 0.6886 MB / 1.361 GB, free: 2.797 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002283/1.13, allocations: 83.67 kB / 1.361 GB, free: 2.715 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.553e-05/1.13, allocations: 4 kB / 1.361 GB, free: 2.711 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005943/1.13, allocations: 47.94 kB / 1.361 GB, free: 2.664 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/1.13, allocations: 11.97 kB / 1.361 GB, free: 2.652 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/1.13, allocations: 19.98 kB / 1.361 GB, free: 2.633 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003491/1.131, allocations: 287.1 kB / 1.361 GB, free: 2.355 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/1.131, allocations: 0 / 1.361 GB, free: 2.355 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006674/1.131, allocations: 195.5 kB / 1.361 GB, free: 2.164 MB / 1.201 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.0002921/1.132, allocations: 166.4 kB / 1.362 GB, free: 1.996 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001694/1.133, allocations: 0.5084 MB / 1.362 GB, free: 1.477 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.133, allocations: 0 / 1.362 GB, free: 1.477 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000819/1.134, allocations: 310.8 kB / 1.362 GB, free: 1.16 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/1.135, allocations: 192.7 kB / 1.363 GB, free: 0.9766 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/1.138, allocations: 1.057 MB / 1.364 GB, free: 15.88 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/1.139, allocations: 260 kB / 1.364 GB, free: 15.61 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003133/1.139, allocations: 95.2 kB / 1.364 GB, free: 15.51 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.155e-05/1.139, allocations: 28.5 kB / 1.364 GB, free: 15.48 MB / 1.217 GB Notification: Performance of SimCode: time 5.61e-07/1.139, allocations: 0 / 1.364 GB, free: 15.48 MB / 1.217 GB Notification: Performance of Templates: time 0.01749/1.157, allocations: 9.649 MB / 1.373 GB, free: 6.023 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 800] 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: 9.22624954697676]