Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002013/0.002013, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 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.002627/0.002627, allocations: 161.3 kB / 23.55 MB, free: 0.8594 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 1.498/1.498, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.821/2.821, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: 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_11_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_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.299e-05/3.567e-05, allocations: 3.891 kB / 0.7864 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.221/0.221, allocations: 150.8 MB / 0.9336 GB, free: 5.551 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.007978/0.229, allocations: 4.036 MB / 0.9376 GB, free: 1.512 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006853/0.2297, allocations: 35.75 kB / 0.9376 GB, free: 1.477 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.2307, allocations: 329.9 kB / 0.9379 GB, free: 1.152 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002808/0.2335, allocations: 1.065 MB / 0.939 GB, free: 84 kB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002349/0.2359, allocations: 0.8565 MB / 0.9398 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.002245/0.2381, allocations: 1.329 MB / 0.9411 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006889/0.2388, allocations: 392.1 kB / 0.9415 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.2404, allocations: 0.8685 MB / 0.9423 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.2416, allocations: 439.4 kB / 0.9427 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 9.867e-05/0.2417, allocations: 56 kB / 0.9428 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.2432, allocations: 0.7596 MB / 0.9435 GB, free: 11.4 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003/0.2435, allocations: 231.2 kB / 0.9437 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.000337/0.2438, allocations: 235.5 kB / 0.944 GB, free: 10.94 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001883/0.2457, allocations: 1.169 MB / 0.9451 GB, free: 9.77 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2457, allocations: 7.875 kB / 0.9451 GB, free: 9.762 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.72e-07/0.2457, allocations: 0 / 0.9451 GB, free: 9.762 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.2457, allocations: 0 / 0.9451 GB, free: 9.762 MB / 0.9011 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.001824/0.2476, allocations: 0.8858 MB / 0.946 GB, free: 8.844 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.2476, allocations: 8.031 kB / 0.946 GB, free: 8.836 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001886/0.2495, allocations: 323.1 kB / 0.9463 GB, free: 8.52 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009895/0.2505, allocations: 466.5 kB / 0.9467 GB, free: 8.043 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.51e-05/0.2505, allocations: 33 kB / 0.9468 GB, free: 8.012 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.304e-05/0.2506, allocations: 47.94 kB / 0.9468 GB, free: 7.965 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.2523, allocations: 0.8907 MB / 0.9477 GB, free: 6.98 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.2523, allocations: 0 / 0.9477 GB, free: 6.98 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.071e-05/0.2524, allocations: 27.98 kB / 0.9477 GB, free: 6.953 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.142e-05/0.2524, allocations: 17 kB / 0.9477 GB, free: 6.934 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/0.254, allocations: 0.5425 MB / 0.9483 GB, free: 6.395 MB / 0.9011 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.004286/0.2583, allocations: 1.795 MB / 0.95 GB, free: 4.531 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009772/0.2593, allocations: 278.3 kB / 0.9503 GB, free: 4.25 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005785/0.2599, allocations: 164.9 kB / 0.9504 GB, free: 4.086 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.2599, allocations: 4 kB / 0.9504 GB, free: 4.082 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.2599, allocations: 34.56 kB / 0.9505 GB, free: 4.039 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.2599, allocations: 0 / 0.9505 GB, free: 4.039 MB / 0.9011 GB Notification: Performance of matching and sorting (n=11): time 0.005669/0.2656, allocations: 1.009 MB / 0.9515 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/0.2657, allocations: 77.11 kB / 0.9515 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005915/0.2662, allocations: 429.7 kB / 0.9519 GB, free: 2.5 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.991e-05/0.2663, allocations: 29.7 kB / 0.952 GB, free: 2.465 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/0.2666, allocations: 323.6 kB / 0.9523 GB, free: 2.145 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.09e-05/0.2667, allocations: 35.69 kB / 0.9523 GB, free: 2.109 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.2668, allocations: 61.66 kB / 0.9524 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002314/0.2671, allocations: 354.7 kB / 0.9527 GB, free: 1.688 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006644/0.2677, allocations: 191.8 kB / 0.9529 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000799/0.2685, allocations: 291 kB / 0.9532 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.2698, allocations: 406.1 kB / 0.9536 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.2698, allocations: 0 / 0.9536 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.003144/0.273, allocations: 0.7281 MB / 0.9543 GB, free: 12 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.273, allocations: 4 kB / 0.9543 GB, free: 8 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.273, allocations: 8.094 kB / 0.9543 GB, free: 0 / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002578/0.2756, allocations: 384.3 kB / 0.9547 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004234/0.276, allocations: 63.95 kB / 0.9547 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004651/0.2807, allocations: 2.094 MB / 0.9568 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006257/0.2813, allocations: 59.86 kB / 0.9568 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.2814, allocations: 12 kB / 0.9568 GB, free: 13.29 MB / 0.9167 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.0003481/0.2817, allocations: 197.6 kB / 0.957 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.2818, allocations: 43.77 kB / 0.9571 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.971e-05/0.2819, allocations: 47.27 kB / 0.9571 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2819, allocations: 0 / 0.9571 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2819, allocations: 4 kB / 0.9571 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2819, allocations: 0 / 0.9571 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003251/0.2852, allocations: 1.007 MB / 0.9581 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.2852, allocations: 4 kB / 0.9581 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.2854, allocations: 35.95 kB / 0.9581 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002064/0.2875, allocations: 376.6 kB / 0.9585 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/0.2875, allocations: 11.92 kB / 0.9585 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004144/0.2917, allocations: 2.037 MB / 0.9605 GB, free: 9.379 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2917, allocations: 0 / 0.9605 GB, free: 9.379 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00281/0.2945, allocations: 0.693 MB / 0.9612 GB, free: 8.66 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/0.2947, allocations: 83.66 kB / 0.9612 GB, free: 8.578 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.945e-05/0.2948, allocations: 8 kB / 0.9613 GB, free: 8.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005977/0.2954, allocations: 50.17 kB / 0.9613 GB, free: 8.523 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.466e-05/0.2955, allocations: 11.98 kB / 0.9613 GB, free: 8.512 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.943e-05/0.2955, allocations: 11.98 kB / 0.9613 GB, free: 8.5 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0006416/0.2961, allocations: 287.1 kB / 0.9616 GB, free: 8.219 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2961, allocations: 0 / 0.9616 GB, free: 8.219 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0007308/0.2969, allocations: 203.6 kB / 0.9618 GB, free: 8.02 MB / 0.9167 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.0003571/0.2972, allocations: 167.2 kB / 0.9619 GB, free: 7.848 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001727/0.299, allocations: 0.5193 MB / 0.9625 GB, free: 7.316 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.299, allocations: 4 kB / 0.9625 GB, free: 7.312 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007937/0.2998, allocations: 302.8 kB / 0.9627 GB, free: 7.004 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.3009, allocations: 211.2 kB / 0.963 GB, free: 6.801 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003352/0.3042, allocations: 1.023 MB / 0.9639 GB, free: 5.734 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.3046, allocations: 264 kB / 0.9642 GB, free: 5.453 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003485/0.3049, allocations: 83.22 kB / 0.9643 GB, free: 5.375 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.305, allocations: 36.44 kB / 0.9643 GB, free: 5.34 MB / 0.9167 GB Notification: Performance of SimCode: time 6.41e-07/0.305, allocations: 0 / 0.9643 GB, free: 5.34 MB / 0.9167 GB Notification: Performance of Templates: time 0.01909/0.3241, allocations: 9.68 MB / 0.9738 GB, free: 11.87 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.427834618021734]