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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00782/0.007821, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001726/0.001726, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.587/2.587, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 64.36 kB / 1.018 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8995/0.901, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1871/1.088, allocations: 171 MB / 1.334 GB, free: 8.141 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007033/1.095, allocations: 4.296 MB / 1.338 GB, free: 3.836 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008862/1.096, allocations: 19.88 kB / 1.338 GB, free: 3.816 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00123/1.097, allocations: 362 kB / 1.338 GB, free: 3.461 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003007/1.1, allocations: 1.031 MB / 1.339 GB, free: 2.426 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002347/1.103, allocations: 0.8246 MB / 1.34 GB, free: 1.605 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001894/1.105, allocations: 1.299 MB / 1.341 GB, free: 312 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009158/1.106, allocations: 494.7 kB / 1.342 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/1.107, allocations: 0.6889 MB / 1.342 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001297/1.108, allocations: 444.7 kB / 1.343 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001447/1.109, allocations: 56 kB / 1.343 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001885/1.111, allocations: 0.916 MB / 1.344 GB, free: 13.72 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002699/1.111, allocations: 219.3 kB / 1.344 GB, free: 13.5 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004669/1.111, allocations: 326.5 kB / 1.344 GB, free: 13.18 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001945/1.113, allocations: 1.141 MB / 1.345 GB, free: 12.04 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/1.113, allocations: 0 / 1.345 GB, free: 12.04 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.042e-06/1.113, allocations: 0 / 1.345 GB, free: 12.04 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.04e-05/1.113, allocations: 3.938 kB / 1.345 GB, free: 12.04 MB / 1.076 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.00201/1.115, allocations: 0.965 MB / 1.346 GB, free: 11.02 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/1.115, allocations: 12.92 kB / 1.346 GB, free: 11.01 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/1.117, allocations: 267.3 kB / 1.347 GB, free: 10.75 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/1.118, allocations: 0.4939 MB / 1.347 GB, free: 10.21 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.216e-05/1.118, allocations: 37 kB / 1.347 GB, free: 10.18 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.67e-05/1.118, allocations: 43.98 kB / 1.347 GB, free: 10.13 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/1.12, allocations: 0.6068 MB / 1.348 GB, free: 9.504 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/1.12, allocations: 0 / 1.348 GB, free: 9.504 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.689e-05/1.12, allocations: 27.94 kB / 1.348 GB, free: 9.477 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.242e-05/1.12, allocations: 24.98 kB / 1.348 GB, free: 9.449 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/1.121, allocations: 0.5425 MB / 1.348 GB, free: 8.91 MB / 1.076 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.004332/1.126, allocations: 2.265 MB / 1.351 GB, free: 6.512 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000888/1.127, allocations: 278.3 kB / 1.351 GB, free: 6.23 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004981/1.127, allocations: 164.7 kB / 1.351 GB, free: 6.066 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/1.127, allocations: 15.86 kB / 1.351 GB, free: 6.051 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/1.127, allocations: 34.56 kB / 1.351 GB, free: 6.008 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/1.127, allocations: 0 / 1.351 GB, free: 6.008 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.005284/1.132, allocations: 1.092 MB / 1.352 GB, free: 4.887 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/1.133, allocations: 77.11 kB / 1.352 GB, free: 4.793 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009296/1.134, allocations: 0.5573 MB / 1.353 GB, free: 4.227 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.441e-05/1.134, allocations: 25.7 kB / 1.353 GB, free: 4.195 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/1.134, allocations: 308.1 kB / 1.353 GB, free: 3.891 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.784e-05/1.134, allocations: 43.64 kB / 1.353 GB, free: 3.848 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/1.134, allocations: 57.66 kB / 1.353 GB, free: 3.785 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001759/1.134, allocations: 358.8 kB / 1.353 GB, free: 3.426 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005803/1.135, allocations: 187.8 kB / 1.354 GB, free: 3.242 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006103/1.136, allocations: 277.4 kB / 1.354 GB, free: 2.938 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/1.137, allocations: 407.2 kB / 1.354 GB, free: 2.512 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/1.137, allocations: 4 kB / 1.354 GB, free: 2.508 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002651/1.139, allocations: 0.728 MB / 1.355 GB, free: 1.77 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/1.139, allocations: 4 kB / 1.355 GB, free: 1.766 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/1.139, allocations: 4.094 kB / 1.355 GB, free: 1.762 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000691/1.14, allocations: 184.7 kB / 1.355 GB, free: 1.578 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/1.14, allocations: 79.88 kB / 1.355 GB, free: 1.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003889/1.144, allocations: 2.237 MB / 1.357 GB, free: 15.13 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006121/1.145, allocations: 71.58 kB / 1.358 GB, free: 15.06 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/1.145, allocations: 19.98 kB / 1.358 GB, free: 15.04 MB / 1.092 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.000267/1.145, allocations: 189.8 kB / 1.358 GB, free: 14.84 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/1.145, allocations: 51.72 kB / 1.358 GB, free: 14.79 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/1.146, allocations: 51.97 kB / 1.358 GB, free: 14.74 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/1.146, allocations: 4 kB / 1.358 GB, free: 14.74 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/1.146, allocations: 0 / 1.358 GB, free: 14.74 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/1.146, allocations: 0 / 1.358 GB, free: 14.74 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003128/1.149, allocations: 1.129 MB / 1.359 GB, free: 13.54 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/1.149, allocations: 4.062 kB / 1.359 GB, free: 13.54 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/1.149, allocations: 35.95 kB / 1.359 GB, free: 13.5 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005415/1.15, allocations: 188.7 kB / 1.359 GB, free: 13.32 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/1.15, allocations: 0 / 1.359 GB, free: 13.32 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003684/1.153, allocations: 2.191 MB / 1.361 GB, free: 10.98 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.153, allocations: 4.031 kB / 1.361 GB, free: 10.98 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002506/1.156, allocations: 0.7081 MB / 1.362 GB, free: 10.25 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002894/1.156, allocations: 168.7 kB / 1.362 GB, free: 10.06 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.99e-05/1.156, allocations: 4 kB / 1.362 GB, free: 10.06 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000588/1.157, allocations: 49.09 kB / 1.362 GB, free: 10.01 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/1.157, allocations: 23.97 kB / 1.362 GB, free: 9.988 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-05/1.157, allocations: 15.98 kB / 1.362 GB, free: 9.973 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005044/1.157, allocations: 386.8 kB / 1.363 GB, free: 9.598 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.5e-07/1.157, allocations: 0 / 1.363 GB, free: 9.598 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006761/1.158, allocations: 187.8 kB / 1.363 GB, free: 9.414 MB / 1.092 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.0004535/1.159, allocations: 176.6 kB / 1.363 GB, free: 9.242 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001493/1.16, allocations: 0.5345 MB / 1.363 GB, free: 8.695 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.16, allocations: 0 / 1.363 GB, free: 8.695 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0006761/1.161, allocations: 303 kB / 1.364 GB, free: 8.387 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/1.162, allocations: 296 kB / 1.364 GB, free: 8.105 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003081/1.165, allocations: 1.073 MB / 1.365 GB, free: 6.992 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004949/1.166, allocations: 0.8582 MB / 1.366 GB, free: 6.105 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004394/1.166, allocations: 108.5 kB / 1.366 GB, free: 6 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.865e-05/1.166, allocations: 35.44 kB / 1.366 GB, free: 5.965 MB / 1.092 GB Notification: Performance of SimCode: time 7.72e-07/1.166, allocations: 0 / 1.366 GB, free: 5.965 MB / 1.092 GB Notification: Performance of Templates: time 0.02203/1.188, allocations: 12.46 MB / 1.378 GB, free: 9.684 MB / 1.107 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches