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.001524/0.001524, allocations: 106.8 kB / 16.41 MB, free: 6.508 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.001407/0.001407, allocations: 187 kB / 17.34 MB, free: 5.742 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.438/1.438, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.579/2.579, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 60.11 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8144/0.8159, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1817/0.9976, allocations: 171 MB / 1.375 GB, free: 1.957 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.006691/1.004, allocations: 4.292 MB / 1.38 GB, free: 13.65 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000837/1.005, allocations: 19.88 kB / 1.38 GB, free: 13.63 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00111/1.006, allocations: 350 kB / 1.38 GB, free: 13.29 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002625/1.009, allocations: 0.9993 MB / 1.381 GB, free: 12.29 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002128/1.011, allocations: 0.809 MB / 1.382 GB, free: 11.48 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001829/1.013, allocations: 1.29 MB / 1.383 GB, free: 10.19 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007081/1.014, allocations: 483.2 kB / 1.383 GB, free: 9.715 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001396/1.015, allocations: 0.6771 MB / 1.384 GB, free: 9.035 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/1.016, allocations: 458.8 kB / 1.385 GB, free: 8.59 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001075/1.016, allocations: 52 kB / 1.385 GB, free: 8.539 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001657/1.018, allocations: 0.916 MB / 1.385 GB, free: 7.621 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002348/1.018, allocations: 219.3 kB / 1.386 GB, free: 7.406 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0003618/1.019, allocations: 326.6 kB / 1.386 GB, free: 7.086 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001641/1.02, allocations: 1.131 MB / 1.387 GB, free: 5.953 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/1.02, allocations: 0 / 1.387 GB, free: 5.953 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.994e-06/1.02, allocations: 0 / 1.387 GB, free: 5.953 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.097e-05/1.02, allocations: 4 kB / 1.387 GB, free: 5.949 MB / 1.107 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.00169/1.022, allocations: 0.9505 MB / 1.388 GB, free: 4.949 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/1.022, allocations: 8.031 kB / 1.388 GB, free: 4.941 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001701/1.024, allocations: 263 kB / 1.388 GB, free: 4.684 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008888/1.025, allocations: 0.4935 MB / 1.389 GB, free: 4.148 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/1.025, allocations: 29 kB / 1.389 GB, free: 4.121 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.151e-05/1.025, allocations: 44 kB / 1.389 GB, free: 4.078 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/1.026, allocations: 0.6146 MB / 1.389 GB, free: 3.438 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/1.026, allocations: 0 / 1.389 GB, free: 3.438 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.989e-05/1.026, allocations: 16 kB / 1.389 GB, free: 3.422 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.269e-05/1.026, allocations: 17 kB / 1.389 GB, free: 3.406 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/1.028, allocations: 0.5503 MB / 1.39 GB, free: 2.855 MB / 1.107 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.004084/1.032, allocations: 2.268 MB / 1.392 GB, free: 468 kB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009223/1.033, allocations: 278.3 kB / 1.392 GB, free: 180 kB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005469/1.033, allocations: 172.7 kB / 1.393 GB, free: 4 kB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/1.033, allocations: 3.984 kB / 1.393 GB, free: 0 / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/1.033, allocations: 42.5 kB / 1.393 GB, free: 15.95 MB / 1.123 GB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/1.033, allocations: 0 / 1.393 GB, free: 15.95 MB / 1.123 GB Notification: Performance of matching and sorting (n=11): time 0.005382/1.039, allocations: 1.084 MB / 1.394 GB, free: 14.84 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/1.039, allocations: 77.11 kB / 1.394 GB, free: 14.74 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007516/1.04, allocations: 0.5534 MB / 1.394 GB, free: 14.18 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.593e-05/1.04, allocations: 29.7 kB / 1.394 GB, free: 14.14 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/1.04, allocations: 303.5 kB / 1.395 GB, free: 13.84 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.794e-05/1.04, allocations: 39.45 kB / 1.395 GB, free: 13.8 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/1.04, allocations: 65.59 kB / 1.395 GB, free: 13.73 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001471/1.04, allocations: 354.8 kB / 1.395 GB, free: 13.38 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006267/1.041, allocations: 187.8 kB / 1.395 GB, free: 13.19 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006423/1.042, allocations: 266.5 kB / 1.396 GB, free: 12.9 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/1.043, allocations: 412.2 kB / 1.396 GB, free: 12.46 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/1.043, allocations: 0 / 1.396 GB, free: 12.46 MB / 1.123 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002802/1.046, allocations: 0.7265 MB / 1.397 GB, free: 11.73 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/1.046, allocations: 8 kB / 1.397 GB, free: 11.72 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/1.046, allocations: 3.938 kB / 1.397 GB, free: 11.72 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006806/1.046, allocations: 192.7 kB / 1.397 GB, free: 11.53 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/1.047, allocations: 67.94 kB / 1.397 GB, free: 11.46 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004353/1.051, allocations: 2.241 MB / 1.399 GB, free: 9.094 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007069/1.052, allocations: 79.48 kB / 1.399 GB, free: 9.016 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/1.052, allocations: 8 kB / 1.399 GB, free: 9.008 MB / 1.123 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.0002939/1.052, allocations: 189.8 kB / 1.399 GB, free: 8.812 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/1.052, allocations: 51.34 kB / 1.399 GB, free: 8.762 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/1.052, allocations: 59.97 kB / 1.399 GB, free: 8.699 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/1.052, allocations: 0 / 1.399 GB, free: 8.699 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/1.052, allocations: 0 / 1.399 GB, free: 8.699 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.052, allocations: 4 kB / 1.399 GB, free: 8.695 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/1.056, allocations: 1.121 MB / 1.401 GB, free: 7.508 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/1.056, allocations: 0 / 1.401 GB, free: 7.508 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/1.056, allocations: 35.95 kB / 1.401 GB, free: 7.473 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005394/1.056, allocations: 184.8 kB / 1.401 GB, free: 7.289 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/1.056, allocations: 7.984 kB / 1.401 GB, free: 7.281 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003722/1.06, allocations: 2.191 MB / 1.403 GB, free: 4.949 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.06, allocations: 0 / 1.403 GB, free: 4.949 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002653/1.063, allocations: 0.7078 MB / 1.404 GB, free: 4.215 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000298/1.063, allocations: 164.5 kB / 1.404 GB, free: 4.035 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.922e-05/1.063, allocations: 4 kB / 1.404 GB, free: 4.031 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006014/1.064, allocations: 55.88 kB / 1.404 GB, free: 3.977 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/1.064, allocations: 11.98 kB / 1.404 GB, free: 3.965 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.717e-05/1.064, allocations: 11.98 kB / 1.404 GB, free: 3.953 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004703/1.065, allocations: 394.8 kB / 1.404 GB, free: 3.57 MB / 1.123 GB Notification: Performance of sort global known variables: time 3.1e-07/1.065, allocations: 0 / 1.404 GB, free: 3.57 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000658/1.065, allocations: 183.7 kB / 1.404 GB, free: 3.391 MB / 1.123 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.000443/1.066, allocations: 187 kB / 1.405 GB, free: 3.207 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001653/1.067, allocations: 0.522 MB / 1.405 GB, free: 2.672 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.067, allocations: 0 / 1.405 GB, free: 2.672 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.000749/1.068, allocations: 302.7 kB / 1.405 GB, free: 2.363 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/1.07, allocations: 291.8 kB / 1.406 GB, free: 2.078 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/1.073, allocations: 1.101 MB / 1.407 GB, free: 0.9414 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/1.073, allocations: 0.8621 MB / 1.408 GB, free: 52 kB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/1.073, allocations: 43.42 kB / 1.408 GB, free: 8 kB / 1.123 GB Notification: Performance of SimCode: time 4.81e-07/1.073, allocations: 0 / 1.408 GB, free: 8 kB / 1.123 GB Notification: Performance of Templates: time 0.01517/1.089, allocations: 11.12 MB / 1.418 GB, free: 4.969 MB / 1.139 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