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.00138/0.00138, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001432/0.001432, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.366/1.366, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.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.241/2.241, allocations: 390.2 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 66.08 kB / 0.8132 GB, free: 33.07 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2917, allocations: 140.4 MB / 0.9503 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.7385/1.03, allocations: 171 MB / 1.117 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007496/1.038, allocations: 4.293 MB / 1.121 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/1.039, allocations: 21.31 kB / 1.121 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001323/1.04, allocations: 345.3 kB / 1.122 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003404/1.044, allocations: 1.001 MB / 1.123 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002791/1.047, allocations: 0.8066 MB / 1.124 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002497/1.049, allocations: 1.299 MB / 1.125 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008574/1.05, allocations: 480.3 kB / 1.125 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001792/1.052, allocations: 0.6748 MB / 1.126 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/1.053, allocations: 453.8 kB / 1.126 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001138/1.053, allocations: 51.81 kB / 1.126 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/1.056, allocations: 0.8991 MB / 1.127 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002992/1.056, allocations: 215.3 kB / 1.128 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004957/1.056, allocations: 330.2 kB / 1.128 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002099/1.059, allocations: 1.126 MB / 1.129 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/1.059, allocations: 5.156 kB / 1.129 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.272e-06/1.059, allocations: 0 / 1.129 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.565e-05/1.059, allocations: 0 / 1.129 GB, free: 4.754 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.002379/1.061, allocations: 0.953 MB / 1.13 GB, free: 20.16 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/1.061, allocations: 9.188 kB / 1.13 GB, free: 20.16 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/1.063, allocations: 264.8 kB / 1.13 GB, free: 20.12 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009053/1.064, allocations: 480.5 kB / 1.131 GB, free: 19.86 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003255/1.064, allocations: 91.09 kB / 1.131 GB, free: 19.85 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-05/1.064, allocations: 44.69 kB / 1.131 GB, free: 19.85 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/1.065, allocations: 0.619 MB / 1.131 GB, free: 19.75 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/1.065, allocations: 2.531 kB / 1.131 GB, free: 19.75 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.992e-05/1.065, allocations: 19.5 kB / 1.131 GB, free: 19.75 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-05/1.065, allocations: 24.02 kB / 1.131 GB, free: 19.75 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/1.067, allocations: 0.556 MB / 1.132 GB, free: 19.73 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.004051/1.071, allocations: 2.277 MB / 1.134 GB, free: 18.69 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/1.072, allocations: 290.3 kB / 1.134 GB, free: 18.66 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005852/1.073, allocations: 174.1 kB / 1.135 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/1.073, allocations: 12.95 kB / 1.135 GB, free: 18.63 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/1.073, allocations: 38.67 kB / 1.135 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=11): time 2.254e-06/1.073, allocations: 0 / 1.135 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11): time 0.005336/1.078, allocations: 1.104 MB / 1.136 GB, free: 18.39 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/1.078, allocations: 83.3 kB / 1.136 GB, free: 18.3 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006464/1.079, allocations: 0.5536 MB / 1.136 GB, free: 18.16 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.013e-05/1.079, allocations: 34.78 kB / 1.136 GB, free: 18.13 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/1.079, allocations: 301.5 kB / 1.137 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/1.079, allocations: 41.06 kB / 1.137 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/1.079, allocations: 59.45 kB / 1.137 GB, free: 17.93 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.079, allocations: 361.8 kB / 1.137 GB, free: 17.62 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006319/1.08, allocations: 191.6 kB / 1.137 GB, free: 17.61 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006654/1.081, allocations: 269.3 kB / 1.138 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/1.082, allocations: 418.7 kB / 1.138 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.082, allocations: 3.719 kB / 1.138 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002702/1.085, allocations: 0.7411 MB / 1.139 GB, free: 17.33 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/1.085, allocations: 7.219 kB / 1.139 GB, free: 17.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/1.085, allocations: 1.281 kB / 1.139 GB, free: 17.33 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006428/1.085, allocations: 178.7 kB / 1.139 GB, free: 17.31 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/1.086, allocations: 77.08 kB / 1.139 GB, free: 17.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00396/1.09, allocations: 2.237 MB / 1.141 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007953/1.09, allocations: 76.64 kB / 1.141 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/1.09, allocations: 17.61 kB / 1.141 GB, free: 15.89 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.000351/1.091, allocations: 186.2 kB / 1.141 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/1.091, allocations: 53.09 kB / 1.141 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/1.091, allocations: 52.53 kB / 1.141 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/1.091, allocations: 1.375 kB / 1.141 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/1.091, allocations: 2.766 kB / 1.141 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/1.091, allocations: 1.531 kB / 1.141 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003198/1.094, allocations: 1.143 MB / 1.143 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/1.094, allocations: 1.219 kB / 1.143 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/1.095, allocations: 40.44 kB / 1.143 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005445/1.095, allocations: 185.1 kB / 1.143 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/1.095, allocations: 6.094 kB / 1.143 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003527/1.099, allocations: 2.185 MB / 1.145 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/1.099, allocations: 2.953 kB / 1.145 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002664/1.101, allocations: 0.7106 MB / 1.146 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003733/1.102, allocations: 171 kB / 1.146 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.898e-05/1.102, allocations: 5.594 kB / 1.146 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005965/1.102, allocations: 54.62 kB / 1.146 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/1.103, allocations: 16.31 kB / 1.146 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.594e-05/1.103, allocations: 16.61 kB / 1.146 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004976/1.103, allocations: 391.7 kB / 1.146 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/1.103, allocations: 0 / 1.146 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007319/1.104, allocations: 183.5 kB / 1.146 GB, free: 13.53 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.0004277/1.104, allocations: 183.4 kB / 1.147 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001698/1.106, allocations: 0.5356 MB / 1.147 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/1.106, allocations: 1.375 kB / 1.147 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007557/1.107, allocations: 306.2 kB / 1.147 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/1.108, allocations: 308.4 kB / 1.148 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003111/1.111, allocations: 1.123 MB / 1.149 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/1.112, allocations: 0.8649 MB / 1.15 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/1.112, allocations: 39.98 kB / 1.15 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of SimCode: time 3.3e-07/1.112, allocations: 0 / 1.15 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of Templates: time 0.01634/1.128, allocations: 11.09 MB / 1.161 GB, free: 9.02 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 -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