Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 102.2 kB / 16.35 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 194.3 kB / 17.3 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 241 MB, free: 14.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.446/2.446, allocations: 437.1 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 60.38 kB / 0.8707 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2848, allocations: 151.6 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.777/1.062, allocations: 171 MB / 1.186 GB, free: 4.59 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007655/1.07, allocations: 4.289 MB / 1.19 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009856/1.071, allocations: 19.09 kB / 1.19 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001201/1.072, allocations: 346.9 kB / 1.19 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002998/1.075, allocations: 0.9991 MB / 1.191 GB, free: 52 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002396/1.077, allocations: 0.8129 MB / 1.192 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002142/1.079, allocations: 1.296 MB / 1.193 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006415/1.08, allocations: 482.4 kB / 1.194 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/1.081, allocations: 0.6769 MB / 1.194 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/1.082, allocations: 454.1 kB / 1.195 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.694e-05/1.083, allocations: 52.31 kB / 1.195 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001904/1.084, allocations: 0.9074 MB / 1.196 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002676/1.085, allocations: 211.7 kB / 1.196 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004075/1.085, allocations: 333.4 kB / 1.196 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001852/1.087, allocations: 1.128 MB / 1.197 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/1.087, allocations: 0 / 1.197 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.314e-06/1.087, allocations: 2.906 kB / 1.197 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.141e-05/1.087, allocations: 0 / 1.197 GB, free: 12.21 MB / 0.9044 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.001783/1.089, allocations: 0.9528 MB / 1.198 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/1.089, allocations: 8.578 kB / 1.198 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001628/1.091, allocations: 263.6 kB / 1.199 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009016/1.091, allocations: 0.492 MB / 1.199 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/1.091, allocations: 38.75 kB / 1.199 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/1.092, allocations: 39.59 kB / 1.199 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/1.093, allocations: 0.6124 MB / 1.2 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/1.093, allocations: 0 / 1.2 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.467e-05/1.093, allocations: 21.34 kB / 1.2 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.277e-05/1.093, allocations: 19.66 kB / 1.2 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001338/1.094, allocations: 0.5464 MB / 1.2 GB, free: 10.21 MB / 0.9044 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.00411/1.098, allocations: 2.266 MB / 1.203 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008741/1.099, allocations: 279 kB / 1.203 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005075/1.1, allocations: 167.5 kB / 1.203 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/1.1, allocations: 2.594 kB / 1.203 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.84e-05/1.1, allocations: 45.5 kB / 1.203 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.984e-06/1.1, allocations: 7.938 kB / 1.203 GB, free: 8.082 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.005009/1.105, allocations: 1.081 MB / 1.204 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/1.105, allocations: 78.92 kB / 1.204 GB, free: 7.406 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006939/1.106, allocations: 0.5493 MB / 1.205 GB, free: 7.078 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.274e-05/1.106, allocations: 29.7 kB / 1.205 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/1.106, allocations: 303.6 kB / 1.205 GB, free: 6.773 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.565e-05/1.106, allocations: 43.25 kB / 1.205 GB, free: 6.738 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/1.106, allocations: 64.41 kB / 1.205 GB, free: 6.691 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001718/1.106, allocations: 359 kB / 1.205 GB, free: 6.344 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005407/1.107, allocations: 186.1 kB / 1.206 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006075/1.108, allocations: 281 kB / 1.206 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/1.109, allocations: 413.1 kB / 1.206 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/1.109, allocations: 0 / 1.206 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002564/1.111, allocations: 0.7235 MB / 1.207 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/1.111, allocations: 4.844 kB / 1.207 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/1.111, allocations: 6.125 kB / 1.207 GB, free: 5.438 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006321/1.112, allocations: 189.9 kB / 1.207 GB, free: 5.348 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/1.112, allocations: 70.08 kB / 1.207 GB, free: 5.328 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004059/1.116, allocations: 2.235 MB / 1.209 GB, free: 3.422 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006709/1.117, allocations: 79.97 kB / 1.21 GB, free: 3.375 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/1.117, allocations: 11.56 kB / 1.21 GB, free: 3.371 MB / 0.9044 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.0002933/1.117, allocations: 189 kB / 1.21 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/1.117, allocations: 52.25 kB / 1.21 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.635e-05/1.118, allocations: 54.03 kB / 1.21 GB, free: 3.148 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/1.118, allocations: 6.75 kB / 1.21 GB, free: 3.145 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/1.118, allocations: 0 / 1.21 GB, free: 3.145 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/1.118, allocations: 0 / 1.21 GB, free: 3.145 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002992/1.121, allocations: 1.128 MB / 1.211 GB, free: 2.348 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.121, allocations: 0 / 1.211 GB, free: 2.348 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/1.121, allocations: 41.39 kB / 1.211 GB, free: 2.332 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005782/1.121, allocations: 181.3 kB / 1.211 GB, free: 2.25 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/1.121, allocations: 0 / 1.211 GB, free: 2.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003539/1.125, allocations: 2.194 MB / 1.213 GB, free: 368 kB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.125, allocations: 0 / 1.213 GB, free: 368 kB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002514/1.128, allocations: 0.7047 MB / 1.214 GB, free: 15.93 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003584/1.128, allocations: 166.8 kB / 1.214 GB, free: 15.77 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.102e-05/1.128, allocations: 2.781 kB / 1.214 GB, free: 15.77 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000571/1.129, allocations: 53.08 kB / 1.214 GB, free: 15.75 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/1.129, allocations: 15.27 kB / 1.214 GB, free: 15.74 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.309e-05/1.129, allocations: 15.17 kB / 1.214 GB, free: 15.73 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004865/1.129, allocations: 393.8 kB / 1.215 GB, free: 15.5 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.3e-07/1.129, allocations: 0 / 1.215 GB, free: 15.5 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006839/1.13, allocations: 186.5 kB / 1.215 GB, free: 15.39 MB / 0.92 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.0004473/1.13, allocations: 181.3 kB / 1.215 GB, free: 15.21 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001556/1.132, allocations: 0.5218 MB / 1.215 GB, free: 14.68 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.132, allocations: 3.938 kB / 1.215 GB, free: 14.68 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006876/1.133, allocations: 299 kB / 1.216 GB, free: 14.37 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/1.134, allocations: 298.4 kB / 1.216 GB, free: 14.09 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/1.137, allocations: 1.061 MB / 1.217 GB, free: 12.99 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005177/1.138, allocations: 0.8621 MB / 1.218 GB, free: 12.1 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.000402/1.138, allocations: 112.5 kB / 1.218 GB, free: 11.98 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.724e-05/1.138, allocations: 35.44 kB / 1.218 GB, free: 11.95 MB / 0.92 GB Notification: Performance of SimCode: time 1.012e-06/1.138, allocations: 0 / 1.218 GB, free: 11.95 MB / 0.92 GB Notification: Performance of Templates: time 0.02093/1.159, allocations: 12.38 MB / 1.23 GB, free: 15.75 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches