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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001808/0.001808, allocations: 108.8 kB / 16.37 MB, free: 6.465 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.002247/0.002247, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.443/1.443, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.387/2.387, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001587, allocations: 66.39 kB / 0.814 GB, free: 32.79 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3126, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.8908/1.203, allocations: 171 MB / 1.118 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007471/1.211, allocations: 4.296 MB / 1.122 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/1.212, allocations: 21.75 kB / 1.122 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001497/1.214, allocations: 349.9 kB / 1.123 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003835/1.218, allocations: 0.9956 MB / 1.124 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003004/1.221, allocations: 0.8125 MB / 1.124 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00282/1.224, allocations: 1.299 MB / 1.126 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009434/1.225, allocations: 491 kB / 1.126 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002071/1.227, allocations: 0.6703 MB / 1.127 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/1.228, allocations: 455.7 kB / 1.127 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000114/1.228, allocations: 51.66 kB / 1.127 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002646/1.231, allocations: 0.9121 MB / 1.128 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003499/1.231, allocations: 212.3 kB / 1.128 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005717/1.232, allocations: 327.4 kB / 1.129 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002128/1.234, allocations: 1.133 MB / 1.13 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.234, allocations: 1.156 kB / 1.13 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.854e-06/1.234, allocations: 0 / 1.13 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.648e-06/1.234, allocations: 0 / 1.13 GB, free: 5.363 MB / 0.8575 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.001993/1.236, allocations: 0.9488 MB / 1.131 GB, free: 20.78 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/1.236, allocations: 13 kB / 1.131 GB, free: 20.77 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00182/1.238, allocations: 260.8 kB / 1.131 GB, free: 20.73 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/1.239, allocations: 0.4904 MB / 1.131 GB, free: 20.47 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/1.239, allocations: 35.53 kB / 1.132 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/1.239, allocations: 41.03 kB / 1.132 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/1.24, allocations: 0.61 MB / 1.132 GB, free: 20.37 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/1.24, allocations: 4 kB / 1.132 GB, free: 20.36 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.736e-05/1.24, allocations: 22.47 kB / 1.132 GB, free: 20.36 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.75e-05/1.24, allocations: 22.98 kB / 1.132 GB, free: 20.36 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/1.242, allocations: 0.5416 MB / 1.133 GB, free: 20.35 MB / 0.8731 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.004188/1.246, allocations: 2.255 MB / 1.135 GB, free: 19.31 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008639/1.247, allocations: 282.3 kB / 1.135 GB, free: 19.28 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004879/1.247, allocations: 171.2 kB / 1.135 GB, free: 19.26 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/1.247, allocations: 1.531 kB / 1.135 GB, free: 19.26 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/1.247, allocations: 43.88 kB / 1.135 GB, free: 19.21 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=11): time 2.044e-06/1.247, allocations: 0 / 1.135 GB, free: 19.21 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11): time 0.00518/1.253, allocations: 1.087 MB / 1.136 GB, free: 19.02 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.38e-05/1.253, allocations: 80.81 kB / 1.137 GB, free: 18.92 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008707/1.254, allocations: 0.5461 MB / 1.137 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.941e-05/1.254, allocations: 30.33 kB / 1.137 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/1.254, allocations: 306 kB / 1.137 GB, free: 18.61 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.659e-05/1.254, allocations: 39.55 kB / 1.137 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/1.254, allocations: 59.67 kB / 1.137 GB, free: 18.57 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001656/1.254, allocations: 365.3 kB / 1.138 GB, free: 18.25 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005564/1.255, allocations: 190.1 kB / 1.138 GB, free: 18.24 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005782/1.255, allocations: 269.7 kB / 1.138 GB, free: 18.15 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/1.256, allocations: 403.6 kB / 1.139 GB, free: 18.06 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/1.256, allocations: 1.312 kB / 1.139 GB, free: 18.06 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002707/1.259, allocations: 0.7288 MB / 1.139 GB, free: 17.96 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/1.259, allocations: 9.312 kB / 1.139 GB, free: 17.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.259, allocations: 4 kB / 1.139 GB, free: 17.96 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006707/1.26, allocations: 188.1 kB / 1.14 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000366/1.26, allocations: 70.5 kB / 1.14 GB, free: 17.94 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003945/1.264, allocations: 2.231 MB / 1.142 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008085/1.265, allocations: 69.95 kB / 1.142 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/1.265, allocations: 18.23 kB / 1.142 GB, free: 16.53 MB / 0.8731 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.0003659/1.265, allocations: 188.2 kB / 1.142 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/1.266, allocations: 49.69 kB / 1.142 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/1.266, allocations: 51.64 kB / 1.142 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/1.266, allocations: 4.75 kB / 1.142 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/1.266, allocations: 1.594 kB / 1.142 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.266, allocations: 5.094 kB / 1.142 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002978/1.269, allocations: 1.129 MB / 1.143 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.269, allocations: 1.125 kB / 1.143 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/1.269, allocations: 38.8 kB / 1.143 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005175/1.27, allocations: 193.3 kB / 1.144 GB, free: 16 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/1.27, allocations: 2.297 kB / 1.144 GB, free: 16 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003484/1.273, allocations: 2.188 MB / 1.146 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.273, allocations: 1.062 kB / 1.146 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002549/1.276, allocations: 0.6992 MB / 1.146 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004084/1.276, allocations: 174.3 kB / 1.146 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.518e-05/1.276, allocations: 2.562 kB / 1.146 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005643/1.277, allocations: 48.67 kB / 1.147 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/1.277, allocations: 17.12 kB / 1.147 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.802e-05/1.277, allocations: 14.83 kB / 1.147 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004968/1.277, allocations: 395.6 kB / 1.147 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.5e-07/1.277, allocations: 0 / 1.147 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007762/1.278, allocations: 184.2 kB / 1.147 GB, free: 14.17 MB / 0.8731 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.0004766/1.279, allocations: 184.5 kB / 1.147 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00154/1.28, allocations: 0.5149 MB / 1.148 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.28, allocations: 5.812 kB / 1.148 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006775/1.281, allocations: 299.6 kB / 1.148 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/1.282, allocations: 292.5 kB / 1.148 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002994/1.285, allocations: 1.078 MB / 1.149 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/1.286, allocations: 0.8611 MB / 1.15 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004548/1.286, allocations: 105.3 kB / 1.15 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.753e-05/1.286, allocations: 34.44 kB / 1.15 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of SimCode: time 6.52e-07/1.286, allocations: 4 kB / 1.15 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of Templates: time 0.02142/1.308, allocations: 12.39 MB / 1.163 GB, free: 9.168 MB / 0.8731 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches