Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.006508/0.006508, allocations: 95.02 kB / 15.73 MB, free: 6.484 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.001712/0.001712, allocations: 194 kB / 16.67 MB, free: 6.391 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.613/2.613, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 59.91 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3052, allocations: 151.6 MB / 1.167 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.8803/1.186, allocations: 171 MB / 1.334 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008879/1.194, allocations: 4.286 MB / 1.338 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/1.196, allocations: 21.75 kB / 1.338 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001513/1.197, allocations: 349.1 kB / 1.338 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00376/1.201, allocations: 0.9963 MB / 1.339 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002773/1.204, allocations: 0.8203 MB / 1.34 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002369/1.206, allocations: 1.295 MB / 1.341 GB, free: 12 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008143/1.207, allocations: 485.6 kB / 1.342 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001693/1.209, allocations: 0.6745 MB / 1.342 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/1.21, allocations: 450.8 kB / 1.343 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001121/1.21, allocations: 50.81 kB / 1.343 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002671/1.213, allocations: 0.9163 MB / 1.344 GB, free: 10.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003011/1.213, allocations: 215.3 kB / 1.344 GB, free: 10.89 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004557/1.214, allocations: 330.6 kB / 1.344 GB, free: 10.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002131/1.216, allocations: 1.137 MB / 1.345 GB, free: 10.31 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/1.216, allocations: 1.281 kB / 1.345 GB, free: 10.31 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.925e-06/1.216, allocations: 0 / 1.345 GB, free: 10.31 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.576e-05/1.216, allocations: 3.938 kB / 1.345 GB, free: 10.31 MB / 1.029 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.001812/1.218, allocations: 0.96 MB / 1.346 GB, free: 9.609 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/1.218, allocations: 8.562 kB / 1.346 GB, free: 9.609 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001673/1.219, allocations: 270.8 kB / 1.347 GB, free: 9.555 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000958/1.22, allocations: 0.4932 MB / 1.347 GB, free: 9.199 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.093e-05/1.22, allocations: 33.38 kB / 1.347 GB, free: 9.184 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-05/1.22, allocations: 39.72 kB / 1.347 GB, free: 9.172 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/1.222, allocations: 0.6181 MB / 1.348 GB, free: 8.906 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/1.222, allocations: 0 / 1.348 GB, free: 8.906 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.336e-05/1.222, allocations: 17.66 kB / 1.348 GB, free: 8.895 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.161e-05/1.222, allocations: 17.53 kB / 1.348 GB, free: 8.891 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/1.223, allocations: 0.5509 MB / 1.348 GB, free: 8.73 MB / 1.029 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.004248/1.228, allocations: 2.266 MB / 1.35 GB, free: 7.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009759/1.229, allocations: 281.2 kB / 1.351 GB, free: 7.164 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005911/1.229, allocations: 169.5 kB / 1.351 GB, free: 7.113 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/1.229, allocations: 2.156 kB / 1.351 GB, free: 7.113 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/1.229, allocations: 41.12 kB / 1.351 GB, free: 7.066 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.774e-06/1.229, allocations: 0 / 1.351 GB, free: 7.066 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.005329/1.235, allocations: 1.09 MB / 1.352 GB, free: 6.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/1.235, allocations: 82.52 kB / 1.352 GB, free: 6.652 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007856/1.236, allocations: 0.5515 MB / 1.353 GB, free: 6.402 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.226e-05/1.236, allocations: 31.08 kB / 1.353 GB, free: 6.367 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/1.236, allocations: 302 kB / 1.353 GB, free: 6.125 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.088e-05/1.236, allocations: 45.39 kB / 1.353 GB, free: 6.09 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/1.236, allocations: 57.34 kB / 1.353 GB, free: 6.055 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001407/1.236, allocations: 362.4 kB / 1.353 GB, free: 5.719 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006236/1.237, allocations: 191.2 kB / 1.354 GB, free: 5.668 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006582/1.238, allocations: 264.6 kB / 1.354 GB, free: 5.531 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/1.239, allocations: 408.9 kB / 1.354 GB, free: 5.348 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/1.239, allocations: 6.938 kB / 1.354 GB, free: 5.344 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002703/1.241, allocations: 0.731 MB / 1.355 GB, free: 5.121 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/1.241, allocations: 6.562 kB / 1.355 GB, free: 5.121 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/1.242, allocations: 2.125 kB / 1.355 GB, free: 5.121 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007318/1.242, allocations: 188.5 kB / 1.355 GB, free: 5.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003909/1.243, allocations: 69.11 kB / 1.355 GB, free: 5.066 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004801/1.247, allocations: 2.247 MB / 1.357 GB, free: 3.383 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008464/1.248, allocations: 80.3 kB / 1.357 GB, free: 3.348 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/1.248, allocations: 8.719 kB / 1.357 GB, free: 3.348 MB / 1.029 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.0004518/1.249, allocations: 194.4 kB / 1.358 GB, free: 3.191 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/1.249, allocations: 53.19 kB / 1.358 GB, free: 3.164 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/1.249, allocations: 51.06 kB / 1.358 GB, free: 3.141 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/1.249, allocations: 4.938 kB / 1.358 GB, free: 3.137 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.249, allocations: 0 / 1.358 GB, free: 3.137 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/1.249, allocations: 1.188 kB / 1.358 GB, free: 3.137 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003406/1.253, allocations: 1.135 MB / 1.359 GB, free: 2.379 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/1.253, allocations: 1.469 kB / 1.359 GB, free: 2.379 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/1.253, allocations: 41.05 kB / 1.359 GB, free: 2.363 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006408/1.253, allocations: 179.3 kB / 1.359 GB, free: 2.281 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.057e-05/1.253, allocations: 11.34 kB / 1.359 GB, free: 2.273 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003762/1.257, allocations: 2.188 MB / 1.361 GB, free: 400 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.257, allocations: 0 / 1.361 GB, free: 400 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002631/1.26, allocations: 0.7091 MB / 1.362 GB, free: 15.95 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003437/1.26, allocations: 165.3 kB / 1.362 GB, free: 15.8 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.106e-05/1.26, allocations: 2.375 kB / 1.362 GB, free: 15.8 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005739/1.261, allocations: 53.44 kB / 1.362 GB, free: 15.78 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.847e-05/1.261, allocations: 11.45 kB / 1.362 GB, free: 15.77 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.602e-05/1.261, allocations: 17.58 kB / 1.362 GB, free: 15.76 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005685/1.262, allocations: 398.7 kB / 1.363 GB, free: 15.53 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.7e-07/1.262, allocations: 3.938 kB / 1.363 GB, free: 15.52 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0008325/1.263, allocations: 183.4 kB / 1.363 GB, free: 15.5 MB / 1.045 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.0004662/1.263, allocations: 175.5 kB / 1.363 GB, free: 15.38 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001559/1.265, allocations: 0.5272 MB / 1.363 GB, free: 15.06 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.265, allocations: 0 / 1.363 GB, free: 15.06 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006946/1.265, allocations: 312.6 kB / 1.364 GB, free: 14.84 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/1.267, allocations: 295.8 kB / 1.364 GB, free: 14.69 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003045/1.27, allocations: 1.07 MB / 1.365 GB, free: 14.06 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/1.27, allocations: 0.8614 MB / 1.366 GB, free: 13.27 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004401/1.271, allocations: 115.6 kB / 1.366 GB, free: 13.22 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/1.271, allocations: 39.05 kB / 1.366 GB, free: 13.21 MB / 1.045 GB Notification: Performance of SimCode: time 5.41e-07/1.271, allocations: 0 / 1.366 GB, free: 13.21 MB / 1.045 GB Notification: Performance of Templates: time 0.0208/1.292, allocations: 12.46 MB / 1.378 GB, free: 7.027 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches