Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001311/0.00131, allocations: 108 kB / 15.6 MB, free: 132 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.001366/0.001366, allocations: 195 kB / 16.53 MB, free: 6.391 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.449/1.449, allocations: 222.9 MB / 240.2 MB, free: 4.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.965/2.965, allocations: 482.6 MB / 0.7549 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002809/0.002809, allocations: 68.09 kB / 0.9241 GB, free: 29.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3522, allocations: 162.3 MB / 1.083 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2251/0.5774, allocations: 171.1 MB / 1.25 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.532/1.109, allocations: 4.281 MB / 1.254 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006594/1.11, allocations: 21.09 kB / 1.254 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009379/1.111, allocations: 349.6 kB / 1.254 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002292/1.113, allocations: 0.9966 MB / 1.255 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002114/1.116, allocations: 0.8038 MB / 1.256 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001836/1.117, allocations: 1.294 MB / 1.257 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008/1.118, allocations: 484.8 kB / 1.258 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/1.12, allocations: 0.6989 MB / 1.258 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/1.121, allocations: 446.9 kB / 1.259 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001163/1.121, allocations: 52.31 kB / 1.259 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001818/1.123, allocations: 0.9072 MB / 1.26 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002413/1.123, allocations: 211.8 kB / 1.26 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004197/1.123, allocations: 336.8 kB / 1.26 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00164/1.125, allocations: 1.121 MB / 1.261 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/1.125, allocations: 4.062 kB / 1.261 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.483e-06/1.125, allocations: 0 / 1.261 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.869e-06/1.125, allocations: 1.594 kB / 1.261 GB, free: 7.219 MB / 0.9981 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.002009/1.127, allocations: 0.9499 MB / 1.262 GB, free: 22.63 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/1.127, allocations: 12.2 kB / 1.262 GB, free: 22.63 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001791/1.129, allocations: 262.5 kB / 1.262 GB, free: 22.6 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000914/1.13, allocations: 485.7 kB / 1.263 GB, free: 22.35 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003761/1.13, allocations: 87.31 kB / 1.263 GB, free: 22.35 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.749e-05/1.13, allocations: 40.86 kB / 1.263 GB, free: 22.35 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/1.132, allocations: 0.6229 MB / 1.264 GB, free: 22.27 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/1.132, allocations: 0.9688 kB / 1.264 GB, free: 22.27 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.269e-05/1.132, allocations: 21.88 kB / 1.264 GB, free: 22.27 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.358e-05/1.132, allocations: 20.64 kB / 1.264 GB, free: 22.27 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/1.133, allocations: 0.561 MB / 1.264 GB, free: 22.27 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.004737/1.138, allocations: 2.283 MB / 1.266 GB, free: 21.24 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/1.139, allocations: 291.4 kB / 1.267 GB, free: 21.21 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006165/1.14, allocations: 175.9 kB / 1.267 GB, free: 21.2 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/1.14, allocations: 1.859 kB / 1.267 GB, free: 21.2 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/1.14, allocations: 38.27 kB / 1.267 GB, free: 21.16 MB / 1.014 GB Notification: Performance of pre-optimization done (n=11): time 2.685e-06/1.14, allocations: 3.234 kB / 1.267 GB, free: 21.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.005567/1.146, allocations: 1.103 MB / 1.268 GB, free: 21.01 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/1.146, allocations: 81.48 kB / 1.268 GB, free: 20.91 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006785/1.146, allocations: 0.5529 MB / 1.269 GB, free: 20.79 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.443e-05/1.146, allocations: 27.77 kB / 1.269 GB, free: 20.75 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/1.147, allocations: 305.8 kB / 1.269 GB, free: 20.6 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/1.147, allocations: 39.5 kB / 1.269 GB, free: 20.57 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/1.147, allocations: 59.97 kB / 1.269 GB, free: 20.55 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001688/1.147, allocations: 361.9 kB / 1.269 GB, free: 20.24 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000669/1.148, allocations: 195.8 kB / 1.27 GB, free: 20.24 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006932/1.148, allocations: 273.6 kB / 1.27 GB, free: 20.15 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/1.15, allocations: 417.9 kB / 1.27 GB, free: 20.07 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/1.15, allocations: 1.5 kB / 1.27 GB, free: 20.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002885/1.152, allocations: 0.7397 MB / 1.271 GB, free: 20 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/1.152, allocations: 6.344 kB / 1.271 GB, free: 20 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/1.152, allocations: 3.594 kB / 1.271 GB, free: 20 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006398/1.153, allocations: 186.9 kB / 1.271 GB, free: 19.99 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003961/1.154, allocations: 71.03 kB / 1.271 GB, free: 19.99 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004113/1.158, allocations: 2.24 MB / 1.273 GB, free: 18.63 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007484/1.158, allocations: 76.83 kB / 1.274 GB, free: 18.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/1.158, allocations: 8.328 kB / 1.274 GB, free: 18.61 MB / 1.014 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.0002977/1.159, allocations: 188.6 kB / 1.274 GB, free: 18.49 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/1.159, allocations: 54.84 kB / 1.274 GB, free: 18.46 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.661e-05/1.159, allocations: 57.53 kB / 1.274 GB, free: 18.45 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/1.159, allocations: 0.75 kB / 1.274 GB, free: 18.45 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/1.159, allocations: 0.9375 kB / 1.274 GB, free: 18.45 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/1.159, allocations: 1.062 kB / 1.274 GB, free: 18.45 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003217/1.162, allocations: 1.137 MB / 1.275 GB, free: 18.13 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/1.162, allocations: 6.688 kB / 1.275 GB, free: 18.13 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/1.162, allocations: 41.98 kB / 1.275 GB, free: 18.13 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005356/1.163, allocations: 182.6 kB / 1.275 GB, free: 18.12 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/1.163, allocations: 2.266 kB / 1.275 GB, free: 18.12 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003744/1.167, allocations: 2.197 MB / 1.277 GB, free: 16.75 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.167, allocations: 2.469 kB / 1.277 GB, free: 16.75 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002773/1.17, allocations: 0.7079 MB / 1.278 GB, free: 16.57 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003261/1.17, allocations: 164.4 kB / 1.278 GB, free: 16.45 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.415e-05/1.17, allocations: 9.469 kB / 1.278 GB, free: 16.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006227/1.171, allocations: 51.84 kB / 1.278 GB, free: 16.44 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.1e-05/1.171, allocations: 21.39 kB / 1.278 GB, free: 16.44 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.745e-05/1.171, allocations: 11.33 kB / 1.278 GB, free: 16.44 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004977/1.171, allocations: 397.8 kB / 1.279 GB, free: 16.35 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.71e-07/1.171, allocations: 0 / 1.279 GB, free: 16.35 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006918/1.172, allocations: 184.1 kB / 1.279 GB, free: 16.33 MB / 1.014 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.0004227/1.172, allocations: 165.8 kB / 1.279 GB, free: 16.23 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00193/1.174, allocations: 0.5444 MB / 1.279 GB, free: 16.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/1.174, allocations: 2.234 kB / 1.279 GB, free: 16.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008756/1.175, allocations: 308.3 kB / 1.28 GB, free: 15.98 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/1.177, allocations: 301.2 kB / 1.28 GB, free: 15.93 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00315/1.18, allocations: 1.086 MB / 1.281 GB, free: 15.52 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000511/1.181, allocations: 0.864 MB / 1.282 GB, free: 14.81 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004906/1.181, allocations: 106 kB / 1.282 GB, free: 14.78 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.96e-05/1.181, allocations: 36.34 kB / 1.282 GB, free: 14.77 MB / 1.014 GB Notification: Performance of SimCode: time 7.71e-07/1.181, allocations: 5.203 kB / 1.282 GB, free: 14.77 MB / 1.014 GB Notification: Performance of Templates: time 0.02195/1.203, allocations: 12.4 MB / 1.294 GB, free: 14.06 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches