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.0014/0.0014, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 196.1 kB / 16.79 MB, free: 6.809 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.396/1.396, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.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.717/2.717, allocations: 437 MB / 0.7106 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 63.89 kB / 0.8692 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7061/0.7075, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1868/0.8943, allocations: 168.8 MB / 1.182 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007391/0.9018, allocations: 4.342 MB / 1.186 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/0.9029, allocations: 19.88 kB / 1.186 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.9042, allocations: 306.5 kB / 1.187 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00297/0.9072, allocations: 0.9414 MB / 1.188 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002324/0.9096, allocations: 0.7168 MB / 1.188 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002386/0.912, allocations: 1.793 MB / 1.19 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008455/0.9128, allocations: 426.8 kB / 1.19 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001607/0.9145, allocations: 0.5913 MB / 1.191 GB, free: 256 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001517/0.916, allocations: 478.6 kB / 1.191 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001667/0.9162, allocations: 28 kB / 1.191 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002211/0.9184, allocations: 0.9976 MB / 1.192 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003512/0.9187, allocations: 191.3 kB / 1.193 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006364/0.9194, allocations: 310.5 kB / 1.193 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.9207, allocations: 0.8304 MB / 1.194 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.9207, allocations: 4 kB / 1.194 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.41e-07/0.9208, allocations: 0 / 1.194 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.981e-05/0.9208, allocations: 4 kB / 1.194 GB, free: 13.43 MB / 0.9512 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.002187/0.923, allocations: 0.9544 MB / 1.195 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.923, allocations: 12.03 kB / 1.195 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/0.9248, allocations: 259 kB / 1.195 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008745/0.9257, allocations: 481.5 kB / 1.195 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003214/0.926, allocations: 88.88 kB / 1.195 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-05/0.9261, allocations: 44 kB / 1.196 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.9273, allocations: 0.6146 MB / 1.196 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.9274, allocations: 0 / 1.196 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.875e-05/0.9274, allocations: 16 kB / 1.196 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.532e-05/0.9275, allocations: 32.92 kB / 1.196 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.9289, allocations: 0.5503 MB / 1.197 GB, free: 10.27 MB / 0.9512 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.004218/0.9331, allocations: 2.28 MB / 1.199 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009587/0.9341, allocations: 290.3 kB / 1.199 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005583/0.9346, allocations: 176.7 kB / 1.199 GB, free: 7.395 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.9347, allocations: 4 kB / 1.199 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.9347, allocations: 38.55 kB / 1.199 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.694e-06/0.9347, allocations: 0 / 1.199 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.005239/0.94, allocations: 1.108 MB / 1.2 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.94, allocations: 81.11 kB / 1.201 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006595/0.9407, allocations: 0.5457 MB / 1.201 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.407e-05/0.9408, allocations: 33.7 kB / 1.201 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/0.941, allocations: 303.5 kB / 1.201 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.9411, allocations: 39.44 kB / 1.201 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.9412, allocations: 61.61 kB / 1.202 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002181/0.9415, allocations: 358.8 kB / 1.202 GB, free: 4.746 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005914/0.9421, allocations: 191.8 kB / 1.202 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006353/0.9427, allocations: 285.2 kB / 1.202 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.9438, allocations: 413.7 kB / 1.203 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.9438, allocations: 0 / 1.203 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002734/0.9466, allocations: 0.7388 MB / 1.203 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.9466, allocations: 12.03 kB / 1.203 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.9466, allocations: 7.938 kB / 1.203 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006175/0.9473, allocations: 184.7 kB / 1.204 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/0.9476, allocations: 71.89 kB / 1.204 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003743/0.9514, allocations: 2.106 MB / 1.206 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006932/0.9521, allocations: 79.55 kB / 1.206 GB, free: 488 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.9521, allocations: 11.98 kB / 1.206 GB, free: 476 kB / 0.9512 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.0002949/0.9524, allocations: 193.8 kB / 1.206 GB, free: 272 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.9525, allocations: 47.44 kB / 1.206 GB, free: 224 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.881e-05/0.9526, allocations: 52.03 kB / 1.206 GB, free: 172 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.9526, allocations: 0 / 1.206 GB, free: 172 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.9527, allocations: 3.938 kB / 1.206 GB, free: 168 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.9527, allocations: 0 / 1.206 GB, free: 168 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003083/0.9558, allocations: 1.148 MB / 1.207 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.9558, allocations: 0 / 1.207 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.956, allocations: 47.95 kB / 1.207 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005275/0.9566, allocations: 180.7 kB / 1.207 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.9566, allocations: 4 kB / 1.207 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003419/0.96, allocations: 2.038 MB / 1.209 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.96, allocations: 0 / 1.209 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002558/0.9626, allocations: 0.7118 MB / 1.21 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002585/0.9629, allocations: 164.4 kB / 1.21 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.586e-05/0.963, allocations: 8 kB / 1.21 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005956/0.9636, allocations: 55.88 kB / 1.21 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/0.9636, allocations: 11.98 kB / 1.21 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.463e-05/0.9637, allocations: 11.98 kB / 1.21 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004817/0.9642, allocations: 398.8 kB / 1.211 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9642, allocations: 4 kB / 1.211 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006807/0.9649, allocations: 175.8 kB / 1.211 GB, free: 10.98 MB / 0.9669 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.0004219/0.9653, allocations: 188.1 kB / 1.211 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001626/0.9669, allocations: 0.5297 MB / 1.212 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.9669, allocations: 4 kB / 1.212 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007206/0.9677, allocations: 306.8 kB / 1.212 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.9691, allocations: 288.1 kB / 1.212 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/0.9723, allocations: 1.284 MB / 1.213 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.9728, allocations: 0.8625 MB / 1.214 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.9729, allocations: 39.44 kB / 1.214 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of SimCode: time 2.014e-06/0.9729, allocations: 3.938 kB / 1.214 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of Templates: time 0.0157/0.9886, allocations: 11.07 MB / 1.225 GB, free: 12.42 MB / 0.9825 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 -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