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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00143/0.001429, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001566/0.001566, allocations: 190.8 kB / 16.14 MB, free: 6.711 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.339/1.339, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.777/2.777, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 61.11 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3273, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1996/0.527, allocations: 168.8 MB / 1.232 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006675/0.5337, allocations: 4.338 MB / 1.237 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008103/0.5345, allocations: 19.88 kB / 1.237 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.5357, allocations: 306.5 kB / 1.237 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002481/0.5382, allocations: 0.9414 MB / 1.238 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002078/0.5403, allocations: 0.7313 MB / 1.239 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001852/0.5422, allocations: 1.793 MB / 1.24 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005488/0.5427, allocations: 410.9 kB / 1.241 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.5439, allocations: 0.5992 MB / 1.241 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009904/0.5449, allocations: 466.1 kB / 1.242 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.708e-05/0.5449, allocations: 28 kB / 1.242 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001759/0.5467, allocations: 1.005 MB / 1.243 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002165/0.5469, allocations: 191.4 kB / 1.243 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003268/0.5473, allocations: 310.5 kB / 1.243 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.5485, allocations: 1.149 MB / 1.244 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.5486, allocations: 0 / 1.244 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of FrontEnd: time 7.42e-07/0.5486, allocations: 0 / 1.244 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.535e-06/0.5486, allocations: 0 / 1.244 GB, free: 5.238 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.001598/0.5502, allocations: 0.9467 MB / 1.245 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.5502, allocations: 15.97 kB / 1.245 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/0.552, allocations: 259 kB / 1.245 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008029/0.5528, allocations: 485.4 kB / 1.246 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003188/0.5531, allocations: 92.94 kB / 1.246 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.902e-05/0.5532, allocations: 39.98 kB / 1.246 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.5544, allocations: 0.6263 MB / 1.247 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.5544, allocations: 0 / 1.247 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-05/0.5545, allocations: 19.98 kB / 1.247 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.559e-05/0.5546, allocations: 20.98 kB / 1.247 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.556, allocations: 0.5542 MB / 1.247 GB, free: 2.086 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.6362/1.192, allocations: 2.277 MB / 1.25 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/1.193, allocations: 287.5 kB / 1.25 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006276/1.194, allocations: 179.2 kB / 1.25 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/1.194, allocations: 2.734 kB / 1.25 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/1.194, allocations: 38.53 kB / 1.25 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.954e-06/1.194, allocations: 0 / 1.25 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.006005/1.2, allocations: 1.105 MB / 1.251 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/1.2, allocations: 82.67 kB / 1.251 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008934/1.201, allocations: 0.55 MB / 1.252 GB, free: 186 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.796e-05/1.201, allocations: 35.3 kB / 1.252 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/1.201, allocations: 300.1 kB / 1.252 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.254e-05/1.201, allocations: 40.58 kB / 1.252 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/1.202, allocations: 60.58 kB / 1.252 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001113/1.202, allocations: 360.9 kB / 1.252 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006912/1.202, allocations: 195.9 kB / 1.253 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007222/1.203, allocations: 276.4 kB / 1.253 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/1.204, allocations: 422.2 kB / 1.253 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.204, allocations: 0.9062 kB / 1.253 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.003025/1.208, allocations: 0.7393 MB / 1.254 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/1.208, allocations: 6.25 kB / 1.254 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/1.208, allocations: 2.031 kB / 1.254 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007119/1.208, allocations: 182.2 kB / 1.254 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/1.209, allocations: 73.72 kB / 1.254 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004009/1.213, allocations: 2.079 MB / 1.256 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008217/1.214, allocations: 81.59 kB / 1.256 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.562e-05/1.214, allocations: 9.812 kB / 1.256 GB, free: 183.9 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.0003234/1.214, allocations: 203.2 kB / 1.257 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/1.214, allocations: 49.75 kB / 1.257 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/1.214, allocations: 50.42 kB / 1.257 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/1.214, allocations: 1.844 kB / 1.257 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/1.214, allocations: 0.5625 kB / 1.257 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/1.214, allocations: 4.641 kB / 1.257 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003181/1.217, allocations: 1.146 MB / 1.258 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/1.217, allocations: 0 / 1.258 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/1.218, allocations: 40.34 kB / 1.258 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005507/1.218, allocations: 189.8 kB / 1.258 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/1.218, allocations: 1.219 kB / 1.258 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003203/1.221, allocations: 2.045 MB / 1.26 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.221, allocations: 2.672 kB / 1.26 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002577/1.224, allocations: 0.7087 MB / 1.261 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003016/1.224, allocations: 168.6 kB / 1.261 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.44e-05/1.224, allocations: 6.375 kB / 1.261 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006107/1.225, allocations: 57.19 kB / 1.261 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.771e-05/1.225, allocations: 13.28 kB / 1.261 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.688e-05/1.225, allocations: 12.52 kB / 1.261 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005074/1.226, allocations: 392.5 kB / 1.261 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.226, allocations: 3.281 kB / 1.261 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007181/1.226, allocations: 191 kB / 1.262 GB, free: 181.6 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.000468/1.227, allocations: 179.2 kB / 1.262 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001596/1.229, allocations: 0.5258 MB / 1.262 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.229, allocations: 0 / 1.262 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006975/1.229, allocations: 313.3 kB / 1.263 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/1.231, allocations: 295.8 kB / 1.263 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003136/1.234, allocations: 1.236 MB / 1.264 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/1.234, allocations: 0.8705 MB / 1.265 GB, free: 180 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004975/1.235, allocations: 111.6 kB / 1.265 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.784e-05/1.235, allocations: 36.53 kB / 1.265 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/1.235, allocations: 0 / 1.265 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.0264/1.261, allocations: 11.84 MB / 1.277 GB, free: 177.4 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