Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001203/0.001203, allocations: 105 kB / 16.41 MB, free: 6.465 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.001177/0.001177, allocations: 187 kB / 17.34 MB, free: 5.719 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.52/1.52, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.253/2.253, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 60.08 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8621/0.8637, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2127/1.076, allocations: 171 MB / 1.256 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006986/1.083, allocations: 4.283 MB / 1.26 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009898/1.084, allocations: 19.88 kB / 1.26 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001281/1.086, allocations: 358 kB / 1.26 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002815/1.089, allocations: 0.9954 MB / 1.261 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002452/1.091, allocations: 0.8087 MB / 1.262 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002006/1.093, allocations: 1.294 MB / 1.263 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009006/1.094, allocations: 487.3 kB / 1.264 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001603/1.096, allocations: 0.6732 MB / 1.264 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001613/1.097, allocations: 451.8 kB / 1.265 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002273/1.098, allocations: 55.94 kB / 1.265 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002147/1.1, allocations: 0.916 MB / 1.266 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003651/1.1, allocations: 211.5 kB / 1.266 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006152/1.101, allocations: 330.5 kB / 1.266 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002309/1.103, allocations: 1.135 MB / 1.267 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.103, allocations: 0 / 1.267 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.184e-06/1.103, allocations: 0 / 1.267 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.177e-05/1.103, allocations: 4 kB / 1.267 GB, free: 6.695 MB / 0.9981 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.002396/1.105, allocations: 0.9505 MB / 1.268 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/1.106, allocations: 8.031 kB / 1.268 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001743/1.107, allocations: 259 kB / 1.268 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009708/1.108, allocations: 0.4975 MB / 1.269 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.822e-05/1.108, allocations: 33 kB / 1.269 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.679e-05/1.108, allocations: 43.98 kB / 1.269 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/1.11, allocations: 0.6107 MB / 1.27 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/1.11, allocations: 4 kB / 1.27 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.161e-05/1.11, allocations: 20 kB / 1.27 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-05/1.11, allocations: 17 kB / 1.27 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/1.111, allocations: 0.5464 MB / 1.27 GB, free: 3.594 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.004257/1.116, allocations: 2.268 MB / 1.272 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009234/1.117, allocations: 278.3 kB / 1.273 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005462/1.117, allocations: 164.7 kB / 1.273 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/1.117, allocations: 11.94 kB / 1.273 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/1.117, allocations: 34.56 kB / 1.273 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 2.355e-06/1.117, allocations: 3.938 kB / 1.273 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.005267/1.122, allocations: 1.084 MB / 1.274 GB, free: 15.58 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/1.123, allocations: 81.05 kB / 1.274 GB, free: 15.48 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007396/1.123, allocations: 0.5496 MB / 1.275 GB, free: 14.92 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.332e-05/1.123, allocations: 29.7 kB / 1.275 GB, free: 14.88 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/1.124, allocations: 303.4 kB / 1.275 GB, free: 14.58 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.235e-05/1.124, allocations: 39.53 kB / 1.275 GB, free: 14.54 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/1.124, allocations: 65.61 kB / 1.275 GB, free: 14.47 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001546/1.124, allocations: 358.8 kB / 1.275 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006126/1.125, allocations: 187.8 kB / 1.276 GB, free: 13.93 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00065/1.125, allocations: 270.7 kB / 1.276 GB, free: 13.63 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/1.126, allocations: 402.7 kB / 1.276 GB, free: 13.21 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/1.126, allocations: 0 / 1.276 GB, free: 13.21 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002826/1.129, allocations: 0.7355 MB / 1.277 GB, free: 12.46 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/1.129, allocations: 8 kB / 1.277 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/1.129, allocations: 0 / 1.277 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006645/1.13, allocations: 180.8 kB / 1.277 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/1.13, allocations: 71.89 kB / 1.277 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004251/1.135, allocations: 2.234 MB / 1.279 GB, free: 9.836 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006481/1.135, allocations: 75.48 kB / 1.279 GB, free: 9.762 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/1.135, allocations: 11.98 kB / 1.279 GB, free: 9.75 MB / 1.014 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.0003012/1.136, allocations: 192 kB / 1.28 GB, free: 9.555 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/1.136, allocations: 47.44 kB / 1.28 GB, free: 9.508 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/1.136, allocations: 55.97 kB / 1.28 GB, free: 9.453 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/1.136, allocations: 0 / 1.28 GB, free: 9.453 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/1.136, allocations: 0 / 1.28 GB, free: 9.453 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/1.136, allocations: 4 kB / 1.28 GB, free: 9.449 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003203/1.139, allocations: 1.133 MB / 1.281 GB, free: 8.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/1.139, allocations: 0 / 1.281 GB, free: 8.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/1.139, allocations: 35.95 kB / 1.281 GB, free: 8.215 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005422/1.14, allocations: 188.8 kB / 1.281 GB, free: 8.027 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/1.14, allocations: 11.94 kB / 1.281 GB, free: 8.016 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003836/1.144, allocations: 2.191 MB / 1.283 GB, free: 5.68 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.144, allocations: 0 / 1.283 GB, free: 5.68 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0026/1.147, allocations: 0.7001 MB / 1.284 GB, free: 4.953 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003204/1.147, allocations: 164.5 kB / 1.284 GB, free: 4.773 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/1.147, allocations: 4 kB / 1.284 GB, free: 4.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006404/1.148, allocations: 61.28 kB / 1.284 GB, free: 4.711 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.603e-05/1.148, allocations: 7.984 kB / 1.284 GB, free: 4.703 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.743e-05/1.148, allocations: 15.98 kB / 1.284 GB, free: 4.688 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005196/1.148, allocations: 394.8 kB / 1.284 GB, free: 4.305 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.148, allocations: 3.938 kB / 1.284 GB, free: 4.301 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007223/1.149, allocations: 183.7 kB / 1.285 GB, free: 4.121 MB / 1.014 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.0004998/1.15, allocations: 183.8 kB / 1.285 GB, free: 3.941 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001694/1.151, allocations: 0.5143 MB / 1.285 GB, free: 3.414 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.151, allocations: 0 / 1.285 GB, free: 3.414 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007823/1.152, allocations: 298.8 kB / 1.286 GB, free: 3.109 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/1.154, allocations: 305.6 kB / 1.286 GB, free: 2.82 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/1.157, allocations: 1.109 MB / 1.287 GB, free: 1.668 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005186/1.158, allocations: 0.8621 MB / 1.288 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/1.158, allocations: 39.44 kB / 1.288 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of SimCode: time 1.192e-06/1.158, allocations: 0 / 1.288 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of Templates: time 0.01668/1.174, allocations: 11.13 MB / 1.299 GB, free: 5.707 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches