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.001352/0.001352, allocations: 111.8 kB / 16.37 MB, free: 5.539 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.001428/0.001428, allocations: 192.2 kB / 17.3 MB, free: 5.18 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 / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.474/2.474, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 59.78 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2983, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.7858/1.084, allocations: 171 MB / 1.194 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.007364/1.092, allocations: 4.283 MB / 1.198 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/1.093, allocations: 23 kB / 1.198 GB, free: 7.156 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001207/1.094, allocations: 346.6 kB / 1.198 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003045/1.097, allocations: 0.9989 MB / 1.199 GB, free: 6.105 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002482/1.1, allocations: 0.8046 MB / 1.2 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002507/1.102, allocations: 1.296 MB / 1.201 GB, free: 4.781 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008427/1.103, allocations: 494.1 kB / 1.202 GB, free: 4.484 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001711/1.105, allocations: 0.6709 MB / 1.202 GB, free: 4.078 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/1.106, allocations: 457.1 kB / 1.203 GB, free: 3.82 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.127e-05/1.106, allocations: 49.69 kB / 1.203 GB, free: 3.82 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00185/1.108, allocations: 0.9058 MB / 1.204 GB, free: 3.328 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002479/1.108, allocations: 209.5 kB / 1.204 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004604/1.108, allocations: 340.4 kB / 1.204 GB, free: 2.973 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001847/1.11, allocations: 1.13 MB / 1.205 GB, free: 2.258 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/1.11, allocations: 0 / 1.205 GB, free: 2.258 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.034e-06/1.11, allocations: 0 / 1.205 GB, free: 2.258 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.048e-05/1.11, allocations: 4 kB / 1.205 GB, free: 2.254 MB / 0.9044 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.001687/1.112, allocations: 0.9438 MB / 1.206 GB, free: 1.492 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/1.112, allocations: 6.875 kB / 1.206 GB, free: 1.492 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/1.114, allocations: 263.4 kB / 1.207 GB, free: 1.379 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009526/1.115, allocations: 0.4887 MB / 1.207 GB, free: 0.9531 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.129e-05/1.115, allocations: 34.41 kB / 1.207 GB, free: 0.9375 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.486e-05/1.115, allocations: 37.28 kB / 1.207 GB, free: 0.9258 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/1.116, allocations: 0.6228 MB / 1.208 GB, free: 0.5391 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/1.116, allocations: 0 / 1.208 GB, free: 0.5391 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.625e-05/1.116, allocations: 16.97 kB / 1.208 GB, free: 0.5273 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.412e-05/1.116, allocations: 18.28 kB / 1.208 GB, free: 0.5234 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/1.118, allocations: 0.5448 MB / 1.208 GB, free: 272 kB / 0.9044 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.00401/1.122, allocations: 2.272 MB / 1.211 GB, free: 14.42 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008595/1.122, allocations: 279.2 kB / 1.211 GB, free: 14.27 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005/1.123, allocations: 170 kB / 1.211 GB, free: 14.19 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/1.123, allocations: 2.531 kB / 1.211 GB, free: 14.19 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/1.123, allocations: 40.75 kB / 1.211 GB, free: 14.14 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.864e-06/1.123, allocations: 0 / 1.211 GB, free: 14.14 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.005011/1.128, allocations: 1.082 MB / 1.212 GB, free: 13.56 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/1.128, allocations: 87.45 kB / 1.212 GB, free: 13.46 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006426/1.129, allocations: 0.5479 MB / 1.213 GB, free: 13.13 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.879e-05/1.129, allocations: 32.7 kB / 1.213 GB, free: 13.09 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/1.129, allocations: 303.7 kB / 1.213 GB, free: 12.82 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.603e-05/1.129, allocations: 41.23 kB / 1.213 GB, free: 12.79 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/1.129, allocations: 64 kB / 1.213 GB, free: 12.74 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.129, allocations: 359.6 kB / 1.213 GB, free: 12.39 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005466/1.13, allocations: 190.5 kB / 1.214 GB, free: 12.3 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005777/1.13, allocations: 272.9 kB / 1.214 GB, free: 12.11 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/1.131, allocations: 400.4 kB / 1.214 GB, free: 11.87 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.132, allocations: 0 / 1.214 GB, free: 11.87 MB / 0.92 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002508/1.134, allocations: 0.7338 MB / 1.215 GB, free: 11.49 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/1.134, allocations: 7.469 kB / 1.215 GB, free: 11.49 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/1.134, allocations: 4 kB / 1.215 GB, free: 11.49 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006208/1.135, allocations: 189.3 kB / 1.215 GB, free: 11.41 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/1.135, allocations: 70.11 kB / 1.215 GB, free: 11.39 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003823/1.139, allocations: 2.23 MB / 1.217 GB, free: 9.484 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006279/1.14, allocations: 76.27 kB / 1.217 GB, free: 9.441 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/1.14, allocations: 11.27 kB / 1.218 GB, free: 9.438 MB / 0.92 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.0002812/1.14, allocations: 189 kB / 1.218 GB, free: 9.277 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.603e-05/1.14, allocations: 48.53 kB / 1.218 GB, free: 9.254 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.411e-05/1.14, allocations: 49.97 kB / 1.218 GB, free: 9.219 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/1.14, allocations: 5.719 kB / 1.218 GB, free: 9.215 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.14, allocations: 4.484 kB / 1.218 GB, free: 9.211 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/1.14, allocations: 4 kB / 1.218 GB, free: 9.207 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00296/1.143, allocations: 1.138 MB / 1.219 GB, free: 8.09 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/1.143, allocations: 5.109 kB / 1.219 GB, free: 8.086 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/1.143, allocations: 31.97 kB / 1.219 GB, free: 8.055 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005202/1.144, allocations: 188.7 kB / 1.219 GB, free: 7.867 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/1.144, allocations: 4 kB / 1.219 GB, free: 7.863 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003441/1.147, allocations: 2.184 MB / 1.221 GB, free: 5.543 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/1.147, allocations: 11.86 kB / 1.221 GB, free: 5.531 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002385/1.15, allocations: 0.7039 MB / 1.222 GB, free: 4.801 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003111/1.15, allocations: 164.5 kB / 1.222 GB, free: 4.621 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.825e-05/1.15, allocations: 4 kB / 1.222 GB, free: 4.617 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005506/1.151, allocations: 52.55 kB / 1.222 GB, free: 4.566 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.844e-05/1.151, allocations: 11.92 kB / 1.222 GB, free: 4.555 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.827e-05/1.151, allocations: 15.98 kB / 1.222 GB, free: 4.539 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004549/1.151, allocations: 394.8 kB / 1.223 GB, free: 4.156 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/1.151, allocations: 3.938 kB / 1.223 GB, free: 4.152 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006506/1.152, allocations: 179.8 kB / 1.223 GB, free: 3.977 MB / 0.92 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.0004183/1.152, allocations: 185.7 kB / 1.223 GB, free: 3.793 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001441/1.154, allocations: 0.514 MB / 1.223 GB, free: 3.266 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.154, allocations: 0 / 1.223 GB, free: 3.266 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006552/1.154, allocations: 303 kB / 1.224 GB, free: 2.957 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/1.156, allocations: 300.9 kB / 1.224 GB, free: 2.668 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003069/1.159, allocations: 1.071 MB / 1.225 GB, free: 1.562 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004915/1.159, allocations: 0.8621 MB / 1.226 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.000411/1.16, allocations: 108.5 kB / 1.226 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.803e-05/1.16, allocations: 35.44 kB / 1.226 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of SimCode: time 6.21e-07/1.16, allocations: 4 kB / 1.226 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of Templates: time 0.02172/1.182, allocations: 12.38 MB / 1.238 GB, free: 4.312 MB / 0.9356 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 -s cvode -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