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.0007856/0.0007856, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.004974/0.004974, allocations: 171.8 kB / 16.26 MB, free: 6.676 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.337/1.337, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.749/2.749, allocations: 443.3 MB / 0.7175 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003876, allocations: 12.69 kB / 0.8795 GB, free: 41.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3043, allocations: 155.2 MB / 1.031 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1695/0.4739, allocations: 166.6 MB / 1.194 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006923/0.4808, allocations: 4.297 MB / 1.198 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006165/0.4815, allocations: 15.94 kB / 1.198 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.4825, allocations: 310.5 kB / 1.198 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002531/0.4851, allocations: 0.9336 MB / 1.199 GB, free: 7.543 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001868/0.4869, allocations: 0.723 MB / 1.2 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002011/0.4889, allocations: 1.793 MB / 1.202 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005924/0.4896, allocations: 398.3 kB / 1.202 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001071/0.4906, allocations: 0.5797 MB / 1.203 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009825/0.4916, allocations: 452 kB / 1.203 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.85e-05/0.4917, allocations: 20 kB / 1.203 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001577/0.4933, allocations: 0.9976 MB / 1.204 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002495/0.4935, allocations: 195.4 kB / 1.204 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003112/0.4939, allocations: 312.2 kB / 1.204 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.4952, allocations: 1.129 MB / 1.206 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4952, allocations: 4 kB / 1.206 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4952, allocations: 0 / 1.206 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.4952, allocations: 0 / 1.206 GB, free: 0.9453 MB / 0.9512 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.001505/0.4967, allocations: 0.8394 MB / 1.206 GB, free: 60 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.4968, allocations: 8.031 kB / 1.206 GB, free: 52 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001686/0.4985, allocations: 291 kB / 1.207 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008074/0.4993, allocations: 490.6 kB / 1.207 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000342/0.4996, allocations: 96.94 kB / 1.207 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.579e-05/0.4997, allocations: 40 kB / 1.207 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.5011, allocations: 0.6497 MB / 1.208 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.5011, allocations: 0 / 1.208 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.686e-05/0.5011, allocations: 16 kB / 1.208 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.521e-05/0.5012, allocations: 25 kB / 1.208 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/0.5027, allocations: 0.5816 MB / 1.209 GB, free: 13.82 MB / 0.9669 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.5071, allocations: 2.307 MB / 1.211 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.5082, allocations: 306.3 kB / 1.211 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006083/0.5088, allocations: 196.6 kB / 1.211 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.5088, allocations: 0 / 1.211 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.5089, allocations: 42.72 kB / 1.211 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 2.585e-06/0.5089, allocations: 0 / 1.211 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.005355/0.5142, allocations: 1.189 MB / 1.212 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.5143, allocations: 81.11 kB / 1.213 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007778/0.5151, allocations: 0.5534 MB / 1.213 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.693e-05/0.5152, allocations: 29.7 kB / 1.213 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003505/0.5155, allocations: 299.5 kB / 1.213 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.506e-05/0.5156, allocations: 39.44 kB / 1.213 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-05/0.5156, allocations: 29.7 kB / 1.213 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.5158, allocations: 362.8 kB / 1.214 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006691/0.5165, allocations: 211.8 kB / 1.214 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000762/0.5173, allocations: 281.3 kB / 1.214 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.5186, allocations: 453.8 kB / 1.215 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.5186, allocations: 0 / 1.215 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002989/0.5216, allocations: 0.7889 MB / 1.215 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.5217, allocations: 8 kB / 1.215 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.5217, allocations: 0 / 1.215 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006658/0.5224, allocations: 192.7 kB / 1.216 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000409/0.5228, allocations: 75.94 kB / 1.216 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003964/0.5268, allocations: 2.132 MB / 1.218 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007301/0.5275, allocations: 95.53 kB / 1.218 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.5275, allocations: 8 kB / 1.218 GB, free: 3.746 MB / 0.9669 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.000303/0.5279, allocations: 193.7 kB / 1.218 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.261e-05/0.528, allocations: 51.34 kB / 1.218 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.762e-05/0.5281, allocations: 52.03 kB / 1.218 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.5281, allocations: 8 kB / 1.218 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5281, allocations: 3.938 kB / 1.218 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5281, allocations: 3.984 kB / 1.218 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003306/0.5314, allocations: 1.184 MB / 1.219 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.5314, allocations: 3.984 kB / 1.219 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002879/0.5317, allocations: 44.02 kB / 1.219 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005515/0.5323, allocations: 184.7 kB / 1.22 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.5323, allocations: 0 / 1.22 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003644/0.536, allocations: 2.077 MB / 1.222 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.536, allocations: 0 / 1.222 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002749/0.5387, allocations: 0.7587 MB / 1.222 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003285/0.5391, allocations: 168.4 kB / 1.223 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.98e-05/0.5391, allocations: 7.984 kB / 1.223 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000653/0.5398, allocations: 67.92 kB / 1.223 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.856e-05/0.5399, allocations: 11.98 kB / 1.223 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/0.54, allocations: 16.08 kB / 1.223 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004937/0.5405, allocations: 398.8 kB / 1.223 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5405, allocations: 0 / 1.223 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006803/0.5412, allocations: 183.8 kB / 1.223 GB, free: 14.1 MB / 0.9825 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.0004162/0.5416, allocations: 175.6 kB / 1.223 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001707/0.5433, allocations: 0.5554 MB / 1.224 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.5433, allocations: 4.062 kB / 1.224 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007834/0.5441, allocations: 322.5 kB / 1.224 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/0.5457, allocations: 294.2 kB / 1.224 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003329/0.549, allocations: 1.291 MB / 1.226 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.5495, allocations: 0.8624 MB / 1.227 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004368/0.5499, allocations: 104.6 kB / 1.227 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.55, allocations: 39.42 kB / 1.227 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of SimCode: time 7.12e-07/0.55, allocations: 0 / 1.227 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of Templates: time 0.02442/0.5745, allocations: 11.78 MB / 1.238 GB, free: 14.79 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