Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.006658/0.006658, allocations: 102.8 kB / 15.73 MB, free: 6.484 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.001975/0.001975, allocations: 196.4 kB / 16.68 MB, free: 6.375 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.496/2.496, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 66.89 kB / 0.9508 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3079, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1857/0.4936, allocations: 171 MB / 1.255 GB, free: 5.832 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007075/0.5007, allocations: 4.291 MB / 1.259 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008154/0.5016, allocations: 23.88 kB / 1.259 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.5027, allocations: 366 kB / 1.259 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002714/0.5054, allocations: 1.027 MB / 1.26 GB, free: 116 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.7328/1.238, allocations: 0.8034 MB / 1.261 GB, free: 4.422 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002353/1.241, allocations: 1.297 MB / 1.263 GB, free: 4.422 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009517/1.242, allocations: 489 kB / 1.263 GB, free: 4.402 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001796/1.243, allocations: 0.699 MB / 1.264 GB, free: 4.402 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/1.245, allocations: 456.6 kB / 1.264 GB, free: 4.402 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001135/1.245, allocations: 51.41 kB / 1.264 GB, free: 4.402 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002049/1.247, allocations: 0.9138 MB / 1.265 GB, free: 4.402 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003332/1.247, allocations: 214.9 kB / 1.265 GB, free: 4.402 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004361/1.248, allocations: 331.8 kB / 1.266 GB, free: 4.402 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001829/1.249, allocations: 1.13 MB / 1.267 GB, free: 4.383 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.249, allocations: 0 / 1.267 GB, free: 4.383 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.643e-06/1.249, allocations: 1.062 kB / 1.267 GB, free: 4.383 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.076e-05/1.249, allocations: 0.5625 kB / 1.267 GB, free: 4.383 MB / 1.014 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.001595/1.251, allocations: 0.9503 MB / 1.268 GB, free: 3.801 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/1.251, allocations: 9.812 kB / 1.268 GB, free: 3.801 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/1.253, allocations: 262.4 kB / 1.268 GB, free: 3.77 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008596/1.254, allocations: 0.4925 MB / 1.268 GB, free: 3.516 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.88e-05/1.254, allocations: 33.25 kB / 1.268 GB, free: 3.516 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.141e-05/1.254, allocations: 41.47 kB / 1.268 GB, free: 3.516 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/1.255, allocations: 0.6129 MB / 1.269 GB, free: 3.43 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/1.255, allocations: 2.328 kB / 1.269 GB, free: 3.43 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.874e-05/1.255, allocations: 22.34 kB / 1.269 GB, free: 3.43 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.521e-05/1.255, allocations: 18.83 kB / 1.269 GB, free: 3.43 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/1.257, allocations: 0.5451 MB / 1.27 GB, free: 3.43 MB / 1.014 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.004088/1.261, allocations: 2.261 MB / 1.272 GB, free: 2.406 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/1.262, allocations: 278.8 kB / 1.272 GB, free: 2.383 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005916/1.263, allocations: 167.5 kB / 1.272 GB, free: 2.375 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.164e-05/1.263, allocations: 2.75 kB / 1.272 GB, free: 2.375 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/1.263, allocations: 41.3 kB / 1.272 GB, free: 2.336 MB / 1.014 GB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/1.263, allocations: 0.6562 kB / 1.272 GB, free: 2.336 MB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.005668/1.268, allocations: 1.09 MB / 1.273 GB, free: 2.176 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/1.268, allocations: 81.48 kB / 1.273 GB, free: 2.082 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009899/1.269, allocations: 0.5423 MB / 1.274 GB, free: 17.96 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.19e-05/1.269, allocations: 31.39 kB / 1.274 GB, free: 17.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/1.27, allocations: 310.7 kB / 1.274 GB, free: 17.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/1.27, allocations: 35.64 kB / 1.274 GB, free: 17.75 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/1.27, allocations: 60.44 kB / 1.274 GB, free: 17.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001601/1.27, allocations: 362.9 kB / 1.275 GB, free: 17.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006169/1.271, allocations: 188.6 kB / 1.275 GB, free: 17.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006725/1.271, allocations: 271.7 kB / 1.275 GB, free: 17.33 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/1.273, allocations: 402.9 kB / 1.276 GB, free: 17.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/1.273, allocations: 2.188 kB / 1.276 GB, free: 17.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002858/1.275, allocations: 0.7303 MB / 1.276 GB, free: 17.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/1.275, allocations: 6.594 kB / 1.276 GB, free: 17.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/1.275, allocations: 2.797 kB / 1.276 GB, free: 17.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006707/1.276, allocations: 187.5 kB / 1.276 GB, free: 17.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003843/1.277, allocations: 72.56 kB / 1.276 GB, free: 17.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003975/1.28, allocations: 2.226 MB / 1.279 GB, free: 15.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007353/1.281, allocations: 74.42 kB / 1.279 GB, free: 15.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/1.281, allocations: 9.922 kB / 1.279 GB, free: 15.79 MB / 1.029 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.000323/1.282, allocations: 192.5 kB / 1.279 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/1.282, allocations: 49.36 kB / 1.279 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/1.282, allocations: 49.55 kB / 1.279 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/1.282, allocations: 1.844 kB / 1.279 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/1.282, allocations: 11.28 kB / 1.279 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.282, allocations: 3.016 kB / 1.279 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003363/1.285, allocations: 1.13 MB / 1.28 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/1.285, allocations: 1.453 kB / 1.28 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/1.286, allocations: 44.64 kB / 1.28 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005463/1.286, allocations: 181.2 kB / 1.28 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/1.286, allocations: 7.672 kB / 1.28 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003662/1.29, allocations: 2.185 MB / 1.283 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.29, allocations: 1.312 kB / 1.283 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002549/1.292, allocations: 0.701 MB / 1.283 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/1.293, allocations: 166.3 kB / 1.283 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.686e-05/1.293, allocations: 3.953 kB / 1.283 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005738/1.293, allocations: 50.42 kB / 1.283 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.317e-05/1.293, allocations: 18.23 kB / 1.283 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.378e-05/1.293, allocations: 11.92 kB / 1.283 GB, free: 13.64 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005342/1.294, allocations: 394.1 kB / 1.284 GB, free: 13.55 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.743e-06/1.294, allocations: 0 / 1.284 GB, free: 13.55 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008214/1.295, allocations: 195.7 kB / 1.284 GB, free: 13.53 MB / 1.029 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.0004636/1.295, allocations: 188.4 kB / 1.284 GB, free: 13.42 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001651/1.297, allocations: 0.5153 MB / 1.285 GB, free: 13.31 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.297, allocations: 3.469 kB / 1.285 GB, free: 13.31 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007178/1.298, allocations: 302.4 kB / 1.285 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/1.299, allocations: 301.6 kB / 1.285 GB, free: 13.17 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003077/1.302, allocations: 1.069 MB / 1.286 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004889/1.303, allocations: 0.86 MB / 1.287 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004228/1.303, allocations: 106.3 kB / 1.287 GB, free: 12.04 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.548e-05/1.303, allocations: 36.14 kB / 1.287 GB, free: 12.04 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/1.303, allocations: 0 / 1.287 GB, free: 12.04 MB / 1.029 GB Notification: Performance of Templates: time 0.02179/1.325, allocations: 12.47 MB / 1.299 GB, free: 11.34 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches