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.00814/0.00814, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001789/0.00179, allocations: 197 kB / 16.68 MB, free: 5.926 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.336/2.336, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 63.89 kB / 0.9508 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8255/0.8271, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2171/1.044, allocations: 171 MB / 1.255 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00888/1.053, allocations: 4.289 MB / 1.259 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007057/1.054, allocations: 23.88 kB / 1.259 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/1.055, allocations: 342 kB / 1.259 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002264/1.057, allocations: 0.9993 MB / 1.26 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001939/1.059, allocations: 0.8047 MB / 1.261 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001446/1.061, allocations: 1.302 MB / 1.262 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006064/1.061, allocations: 479.2 kB / 1.263 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/1.062, allocations: 0.6772 MB / 1.264 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009939/1.063, allocations: 459.3 kB / 1.264 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001042/1.064, allocations: 52 kB / 1.264 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001535/1.065, allocations: 0.916 MB / 1.265 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002067/1.065, allocations: 215.4 kB / 1.265 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003325/1.066, allocations: 338.5 kB / 1.265 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00146/1.067, allocations: 1.128 MB / 1.267 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/1.067, allocations: 0 / 1.267 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/1.067, allocations: 0 / 1.267 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.343e-05/1.067, allocations: 0 / 1.267 GB, free: 6.668 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.001561/1.069, allocations: 0.9505 MB / 1.268 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/1.069, allocations: 8.031 kB / 1.268 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001588/1.07, allocations: 267 kB / 1.268 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008235/1.071, allocations: 0.4896 MB / 1.268 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/1.071, allocations: 33 kB / 1.268 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.96e-05/1.071, allocations: 40 kB / 1.268 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/1.073, allocations: 0.6146 MB / 1.269 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/1.073, allocations: 0 / 1.269 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.347e-05/1.073, allocations: 16 kB / 1.269 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.087e-05/1.073, allocations: 21 kB / 1.269 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/1.074, allocations: 0.5503 MB / 1.27 GB, free: 3.566 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.003847/1.078, allocations: 2.264 MB / 1.272 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/1.079, allocations: 278.3 kB / 1.272 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005562/1.08, allocations: 168.7 kB / 1.272 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/1.08, allocations: 7.875 kB / 1.272 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/1.08, allocations: 42.56 kB / 1.272 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/1.08, allocations: 0 / 1.272 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.004978/1.085, allocations: 1.08 MB / 1.273 GB, free: 15.55 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/1.085, allocations: 85.03 kB / 1.273 GB, free: 15.45 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006279/1.085, allocations: 0.5496 MB / 1.274 GB, free: 14.89 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/1.086, allocations: 33.7 kB / 1.274 GB, free: 14.85 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/1.086, allocations: 307.4 kB / 1.274 GB, free: 14.54 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.771e-05/1.086, allocations: 35.53 kB / 1.274 GB, free: 14.51 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/1.086, allocations: 61.61 kB / 1.274 GB, free: 14.44 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.086, allocations: 354.8 kB / 1.275 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005783/1.087, allocations: 183.8 kB / 1.275 GB, free: 13.91 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006008/1.087, allocations: 270.8 kB / 1.275 GB, free: 13.61 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/1.088, allocations: 414.4 kB / 1.275 GB, free: 13.18 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.089, allocations: 0 / 1.275 GB, free: 13.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002501/1.091, allocations: 0.7199 MB / 1.276 GB, free: 12.45 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/1.091, allocations: 15.92 kB / 1.276 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/1.091, allocations: 0 / 1.276 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006474/1.092, allocations: 188.8 kB / 1.276 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/1.092, allocations: 67.88 kB / 1.276 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003952/1.096, allocations: 2.23 MB / 1.279 GB, free: 9.812 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005499/1.097, allocations: 75.55 kB / 1.279 GB, free: 9.738 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/1.097, allocations: 12 kB / 1.279 GB, free: 9.727 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.0002394/1.097, allocations: 189.7 kB / 1.279 GB, free: 9.531 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.196e-05/1.097, allocations: 47.44 kB / 1.279 GB, free: 9.484 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.741e-05/1.097, allocations: 59.98 kB / 1.279 GB, free: 9.426 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/1.097, allocations: 0 / 1.279 GB, free: 9.426 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/1.097, allocations: 3.984 kB / 1.279 GB, free: 9.422 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/1.097, allocations: 0 / 1.279 GB, free: 9.422 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003052/1.1, allocations: 1.133 MB / 1.28 GB, free: 8.223 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/1.1, allocations: 192 / 1.28 GB, free: 8.223 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/1.1, allocations: 48 kB / 1.28 GB, free: 8.176 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005098/1.101, allocations: 176.7 kB / 1.28 GB, free: 8 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/1.101, allocations: 7.984 kB / 1.28 GB, free: 7.992 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003447/1.104, allocations: 2.194 MB / 1.282 GB, free: 5.656 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.104, allocations: 0 / 1.282 GB, free: 5.656 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002437/1.107, allocations: 0.7001 MB / 1.283 GB, free: 4.93 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/1.107, allocations: 164.5 kB / 1.283 GB, free: 4.75 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.034e-05/1.107, allocations: 8 kB / 1.283 GB, free: 4.742 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005661/1.108, allocations: 52.06 kB / 1.283 GB, free: 4.691 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/1.108, allocations: 11.98 kB / 1.283 GB, free: 4.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.666e-05/1.108, allocations: 15.98 kB / 1.283 GB, free: 4.664 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004395/1.108, allocations: 394.8 kB / 1.284 GB, free: 4.281 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.108, allocations: 11.94 kB / 1.284 GB, free: 4.27 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005935/1.109, allocations: 175.9 kB / 1.284 GB, free: 4.098 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.0003992/1.109, allocations: 177.3 kB / 1.284 GB, free: 3.93 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001593/1.111, allocations: 0.5295 MB / 1.285 GB, free: 3.387 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.111, allocations: 0 / 1.285 GB, free: 3.387 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007307/1.112, allocations: 295 kB / 1.285 GB, free: 3.086 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/1.113, allocations: 295.2 kB / 1.285 GB, free: 2.801 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/1.116, allocations: 1.068 MB / 1.286 GB, free: 1.695 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/1.116, allocations: 0.8621 MB / 1.287 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003637/1.117, allocations: 108.5 kB / 1.287 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.931e-05/1.117, allocations: 39.42 kB / 1.287 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/1.117, allocations: 3.938 kB / 1.287 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of Templates: time 0.02048/1.137, allocations: 12.68 MB / 1.3 GB, free: 4.156 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches