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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001613/0.001613, allocations: 100.1 kB / 15.88 MB, free: 12 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.001895/0.001895, allocations: 200 kB / 16.79 MB, free: 6.828 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.399/1.399, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.849/2.849, allocations: 461.9 MB / 0.7348 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 66.81 kB / 0.899 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3321, allocations: 157.4 MB / 1.053 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1911/0.5233, allocations: 168.8 MB / 1.218 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007201/0.5306, allocations: 4.355 MB / 1.222 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.5317, allocations: 23.81 kB / 1.222 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.5332, allocations: 302.5 kB / 1.222 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003115/0.5363, allocations: 0.9375 MB / 1.223 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002555/0.5389, allocations: 0.7239 MB / 1.224 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002339/0.5413, allocations: 1.798 MB / 1.225 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008662/0.5421, allocations: 418.8 kB / 1.226 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0017/0.5438, allocations: 0.5914 MB / 1.226 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001609/0.5455, allocations: 458.2 kB / 1.227 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001886/0.5457, allocations: 28 kB / 1.227 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002385/0.5481, allocations: 1.009 MB / 1.228 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003844/0.5485, allocations: 191.4 kB / 1.228 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007326/0.5492, allocations: 306.5 kB / 1.228 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001545/0.5508, allocations: 0.842 MB / 1.229 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.5508, allocations: 4 kB / 1.229 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.507e-06/0.5508, allocations: 3.984 kB / 1.229 GB, free: 3 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.696e-05/0.5508, allocations: 0 / 1.229 GB, free: 3 MB / 0.9825 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.002542/0.5534, allocations: 0.9428 MB / 1.23 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.5534, allocations: 12.03 kB / 1.23 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001877/0.5553, allocations: 259 kB / 1.23 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.5564, allocations: 485.4 kB / 1.231 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003382/0.5568, allocations: 88.92 kB / 1.231 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.5569, allocations: 40 kB / 1.231 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.5583, allocations: 0.6185 MB / 1.232 GB, free: 464 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.5584, allocations: 8 kB / 1.232 GB, free: 456 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.884e-05/0.5584, allocations: 23.94 kB / 1.232 GB, free: 432 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-05/0.5585, allocations: 20.98 kB / 1.232 GB, free: 412 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/0.56, allocations: 0.5542 MB / 1.232 GB, free: 15.85 MB / 0.9981 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.004397/0.5644, allocations: 2.276 MB / 1.234 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009892/0.5654, allocations: 290.3 kB / 1.235 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005565/0.566, allocations: 172.7 kB / 1.235 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.566, allocations: 3.984 kB / 1.235 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.5661, allocations: 42.5 kB / 1.235 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 2.214e-06/0.5661, allocations: 0 / 1.235 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.005331/0.5714, allocations: 1.108 MB / 1.236 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.412e-05/0.5715, allocations: 81.11 kB / 1.236 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008042/0.5723, allocations: 0.5535 MB / 1.237 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.462e-05/0.5724, allocations: 25.7 kB / 1.237 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.5726, allocations: 303.5 kB / 1.237 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.796e-05/0.5727, allocations: 43.39 kB / 1.237 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.5728, allocations: 61.61 kB / 1.237 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.573, allocations: 354.8 kB / 1.237 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006206/0.5736, allocations: 195.8 kB / 1.238 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006588/0.5743, allocations: 277.8 kB / 1.238 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.5755, allocations: 422 kB / 1.238 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/0.5755, allocations: 0 / 1.238 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002806/0.5783, allocations: 0.7454 MB / 1.239 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.5783, allocations: 4 kB / 1.239 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.5784, allocations: 4 kB / 1.239 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006771/0.579, allocations: 184.7 kB / 1.239 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003849/0.5794, allocations: 71.95 kB / 1.239 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003912/0.5834, allocations: 2.096 MB / 1.241 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007543/0.5841, allocations: 79.55 kB / 1.241 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/0.5842, allocations: 15.98 kB / 1.241 GB, free: 6.059 MB / 0.9981 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.0003655/0.5846, allocations: 189.8 kB / 1.241 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.5847, allocations: 47.44 kB / 1.242 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.5849, allocations: 52.03 kB / 1.242 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.5849, allocations: 0 / 1.242 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.5849, allocations: 3.938 kB / 1.242 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.5849, allocations: 0 / 1.242 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003262/0.5882, allocations: 1.152 MB / 1.243 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.5882, allocations: 0 / 1.243 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/0.5885, allocations: 40.02 kB / 1.243 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005688/0.589, allocations: 184.7 kB / 1.243 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.5891, allocations: 8 kB / 1.243 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003419/0.5925, allocations: 2.03 MB / 1.245 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.5925, allocations: 0 / 1.245 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002562/0.5951, allocations: 0.7156 MB / 1.246 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003531/0.5955, allocations: 172.4 kB / 1.246 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.5956, allocations: 96 / 1.246 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006837/0.5963, allocations: 62.31 kB / 1.246 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.233e-05/0.5964, allocations: 15.98 kB / 1.246 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.308e-05/0.5964, allocations: 11.98 kB / 1.246 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005767/0.597, allocations: 394.8 kB / 1.246 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.597, allocations: 0 / 1.246 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008041/0.5978, allocations: 179.8 kB / 1.246 GB, free: 0.5625 MB / 0.9981 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.0005309/0.5984, allocations: 186.8 kB / 1.247 GB, free: 392 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.5611/1.159, allocations: 0.5311 MB / 1.247 GB, free: 195 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/1.16, allocations: 0.9062 kB / 1.247 GB, free: 195 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008369/1.16, allocations: 302.9 kB / 1.247 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/1.162, allocations: 289.9 kB / 1.248 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003528/1.166, allocations: 1.284 MB / 1.249 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/1.166, allocations: 0.8588 MB / 1.25 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/1.166, allocations: 40.16 kB / 1.25 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/1.166, allocations: 0 / 1.25 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.02045/1.187, allocations: 11.1 MB / 1.261 GB, free: 193.1 MB / 0.9981 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=480 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches