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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00137/0.001369, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001762/0.001762, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.364/1.364, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.777/2.777, allocations: 461.9 MB / 0.7342 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 66.19 kB / 0.8984 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2996, allocations: 157.4 MB / 1.052 GB, free: 8.805 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1746/0.4742, allocations: 168.8 MB / 1.217 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006538/0.4807, allocations: 4.36 MB / 1.221 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007882/0.4816, allocations: 19.88 kB / 1.221 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.4827, allocations: 302.5 kB / 1.221 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002519/0.4853, allocations: 0.9336 MB / 1.222 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002176/0.4875, allocations: 0.7196 MB / 1.223 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002099/0.4896, allocations: 1.797 MB / 1.225 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000681/0.4903, allocations: 414.9 kB / 1.225 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001382/0.4917, allocations: 0.5913 MB / 1.226 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.493, allocations: 470.2 kB / 1.226 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001662/0.4931, allocations: 28 kB / 1.226 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002116/0.4953, allocations: 1.009 MB / 1.227 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.00038/0.4957, allocations: 191.4 kB / 1.227 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006678/0.4963, allocations: 302.5 kB / 1.228 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001985/0.4983, allocations: 1.145 MB / 1.229 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4984, allocations: 0 / 1.229 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4984, allocations: 0 / 1.229 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.637e-05/0.4984, allocations: 0 / 1.229 GB, free: 3.145 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.002114/0.5005, allocations: 0.9584 MB / 1.23 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.5006, allocations: 8.031 kB / 1.23 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001846/0.5024, allocations: 255 kB / 1.23 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009695/0.5034, allocations: 493.4 kB / 1.231 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003316/0.5038, allocations: 92.86 kB / 1.231 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.178e-05/0.5038, allocations: 36 kB / 1.231 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.5053, allocations: 0.6224 MB / 1.231 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.5053, allocations: 3.938 kB / 1.231 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.55e-05/0.5054, allocations: 20 kB / 1.231 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-05/0.5054, allocations: 28.98 kB / 1.231 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/0.5069, allocations: 0.5504 MB / 1.232 GB, free: 15.98 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.004354/0.5113, allocations: 2.277 MB / 1.234 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009839/0.5123, allocations: 294.3 kB / 1.234 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005559/0.5129, allocations: 176.6 kB / 1.234 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.5129, allocations: 4.219 kB / 1.235 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.513, allocations: 42.5 kB / 1.235 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.853e-06/0.513, allocations: 0 / 1.235 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.005377/0.5183, allocations: 1.111 MB / 1.236 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.5184, allocations: 81.05 kB / 1.236 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006913/0.5191, allocations: 0.5535 MB / 1.236 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.153e-05/0.5192, allocations: 29.7 kB / 1.236 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.5194, allocations: 299.5 kB / 1.237 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.688e-05/0.5195, allocations: 39.45 kB / 1.237 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.5196, allocations: 61.61 kB / 1.237 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5197, allocations: 350.8 kB / 1.237 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006161/0.5203, allocations: 199.8 kB / 1.237 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006709/0.521, allocations: 281.7 kB / 1.237 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.5222, allocations: 414.5 kB / 1.238 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.5222, allocations: 4 kB / 1.238 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002806/0.525, allocations: 0.7355 MB / 1.239 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.5251, allocations: 6.438 kB / 1.239 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.5251, allocations: 8 kB / 1.239 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006392/0.5257, allocations: 176.7 kB / 1.239 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/0.5261, allocations: 75.88 kB / 1.239 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003765/0.5299, allocations: 2.093 MB / 1.241 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000728/0.5307, allocations: 87.53 kB / 1.241 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-05/0.5307, allocations: 8 kB / 1.241 GB, free: 6.195 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.0002889/0.531, allocations: 197.7 kB / 1.241 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.5312, allocations: 47.44 kB / 1.241 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.5313, allocations: 48.03 kB / 1.241 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.5313, allocations: 4 kB / 1.241 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.5313, allocations: 3.938 kB / 1.241 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5313, allocations: 0 / 1.241 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003222/0.5345, allocations: 1.156 MB / 1.242 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.5346, allocations: 4 kB / 1.242 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.5348, allocations: 40.02 kB / 1.242 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005482/0.5354, allocations: 176.7 kB / 1.243 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.5354, allocations: 7.984 kB / 1.243 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003481/0.5389, allocations: 2.03 MB / 1.245 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.5389, allocations: 3.984 kB / 1.245 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002637/0.5416, allocations: 0.7199 MB / 1.245 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002982/0.5419, allocations: 168.4 kB / 1.245 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.419e-05/0.542, allocations: 4 kB / 1.245 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006571/0.5427, allocations: 51.94 kB / 1.245 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.738e-05/0.5427, allocations: 19.92 kB / 1.246 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-05/0.5428, allocations: 11.98 kB / 1.246 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004762/0.5433, allocations: 402.8 kB / 1.246 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5433, allocations: 0 / 1.246 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006792/0.544, allocations: 179.8 kB / 1.246 GB, free: 0.6797 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.0004143/0.5444, allocations: 181.5 kB / 1.246 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.4557/1, allocations: 0.5318 MB / 1.247 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/1, allocations: 0.8125 kB / 1.247 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008769/1.001, allocations: 301.5 kB / 1.247 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/1.003, allocations: 293.8 kB / 1.247 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/1.006, allocations: 1.241 MB / 1.249 GB, free: 195 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/1.006, allocations: 0.8638 MB / 1.249 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004575/1.007, allocations: 106.1 kB / 1.249 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/1.007, allocations: 34.03 kB / 1.25 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/1.007, allocations: 1.031 kB / 1.25 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.0216/1.029, allocations: 11.85 MB / 1.261 GB, free: 193.8 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/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