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.001378/0.001379, allocations: 107.2 kB / 16.41 MB, free: 6.461 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.001686/0.001686, allocations: 187 kB / 17.34 MB, free: 5.723 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.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.427/2.427, allocations: 437 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001263, allocations: 59.91 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9798/0.9811, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1891/1.17, allocations: 171 MB / 1.334 GB, free: 8.195 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007467/1.178, allocations: 4.288 MB / 1.338 GB, free: 3.895 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009226/1.179, allocations: 27.81 kB / 1.338 GB, free: 3.867 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/1.18, allocations: 362 kB / 1.339 GB, free: 3.512 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002798/1.183, allocations: 1.034 MB / 1.34 GB, free: 2.473 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002348/1.185, allocations: 0.8245 MB / 1.341 GB, free: 1.652 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001777/1.187, allocations: 1.302 MB / 1.342 GB, free: 356 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006502/1.188, allocations: 483.4 kB / 1.342 GB, free: 15.86 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/1.189, allocations: 0.6926 MB / 1.343 GB, free: 15.17 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/1.19, allocations: 452.9 kB / 1.343 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 8.464e-05/1.19, allocations: 52 kB / 1.344 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/1.192, allocations: 0.916 MB / 1.344 GB, free: 13.76 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002181/1.192, allocations: 215.4 kB / 1.345 GB, free: 13.55 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003121/1.192, allocations: 330.5 kB / 1.345 GB, free: 13.23 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001475/1.194, allocations: 1.135 MB / 1.346 GB, free: 12.09 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.194, allocations: 0 / 1.346 GB, free: 12.09 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.934e-06/1.194, allocations: 0 / 1.346 GB, free: 12.09 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.027e-06/1.194, allocations: 0 / 1.346 GB, free: 12.09 MB / 1.076 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.001685/1.195, allocations: 0.9488 MB / 1.347 GB, free: 11.09 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/1.195, allocations: 8.922 kB / 1.347 GB, free: 11.09 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001627/1.197, allocations: 267 kB / 1.347 GB, free: 10.82 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009045/1.198, allocations: 0.4896 MB / 1.348 GB, free: 10.29 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/1.198, allocations: 29 kB / 1.348 GB, free: 10.27 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.524e-05/1.198, allocations: 48 kB / 1.348 GB, free: 10.22 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/1.199, allocations: 0.6068 MB / 1.348 GB, free: 9.59 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/1.199, allocations: 4 kB / 1.348 GB, free: 9.586 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.743e-05/1.199, allocations: 16 kB / 1.348 GB, free: 9.57 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.622e-05/1.199, allocations: 24.98 kB / 1.348 GB, free: 9.543 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/1.201, allocations: 0.5503 MB / 1.349 GB, free: 8.996 MB / 1.076 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.00386/1.205, allocations: 2.256 MB / 1.351 GB, free: 6.605 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008476/1.206, allocations: 282.3 kB / 1.351 GB, free: 6.32 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004926/1.206, allocations: 168.7 kB / 1.352 GB, free: 6.152 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/1.206, allocations: 11.92 kB / 1.352 GB, free: 6.141 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/1.206, allocations: 42.55 kB / 1.352 GB, free: 6.09 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 2.404e-06/1.206, allocations: 3.938 kB / 1.352 GB, free: 6.086 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.005043/1.211, allocations: 1.088 MB / 1.353 GB, free: 4.969 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/1.211, allocations: 77.11 kB / 1.353 GB, free: 4.875 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000636/1.212, allocations: 0.5534 MB / 1.353 GB, free: 4.312 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/1.212, allocations: 29.7 kB / 1.353 GB, free: 4.277 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/1.212, allocations: 299.5 kB / 1.354 GB, free: 3.98 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.242e-05/1.212, allocations: 43.45 kB / 1.354 GB, free: 3.938 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/1.212, allocations: 57.61 kB / 1.354 GB, free: 3.875 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001385/1.212, allocations: 358.8 kB / 1.354 GB, free: 3.516 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005514/1.213, allocations: 187.8 kB / 1.354 GB, free: 3.332 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005948/1.214, allocations: 277.2 kB / 1.355 GB, free: 3.027 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/1.215, allocations: 411 kB / 1.355 GB, free: 2.598 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.215, allocations: 0 / 1.355 GB, free: 2.598 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00256/1.217, allocations: 0.7238 MB / 1.356 GB, free: 1.863 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/1.217, allocations: 10.66 kB / 1.356 GB, free: 1.855 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.217, allocations: 4.094 kB / 1.356 GB, free: 1.852 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006328/1.218, allocations: 184.7 kB / 1.356 GB, free: 1.668 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003743/1.218, allocations: 71.88 kB / 1.356 GB, free: 1.598 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00388/1.222, allocations: 2.235 MB / 1.358 GB, free: 15.23 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006242/1.223, allocations: 71.48 kB / 1.358 GB, free: 15.16 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/1.223, allocations: 8 kB / 1.358 GB, free: 15.15 MB / 1.092 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.0003148/1.223, allocations: 197.7 kB / 1.358 GB, free: 14.95 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/1.223, allocations: 51.34 kB / 1.358 GB, free: 14.89 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/1.223, allocations: 55.97 kB / 1.358 GB, free: 14.84 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/1.223, allocations: 0 / 1.358 GB, free: 14.84 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/1.223, allocations: 0 / 1.358 GB, free: 14.84 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/1.223, allocations: 0 / 1.358 GB, free: 14.84 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002941/1.226, allocations: 1.121 MB / 1.36 GB, free: 13.65 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/1.226, allocations: 4.25 kB / 1.36 GB, free: 13.65 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/1.227, allocations: 39.95 kB / 1.36 GB, free: 13.61 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005196/1.227, allocations: 192.7 kB / 1.36 GB, free: 13.42 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/1.227, allocations: 7.938 kB / 1.36 GB, free: 13.41 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003461/1.231, allocations: 2.183 MB / 1.362 GB, free: 11.09 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.231, allocations: 0 / 1.362 GB, free: 11.09 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/1.233, allocations: 0.7001 MB / 1.363 GB, free: 10.36 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003145/1.233, allocations: 164.5 kB / 1.363 GB, free: 10.18 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.648e-05/1.234, allocations: 11.98 kB / 1.363 GB, free: 10.17 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005514/1.234, allocations: 49.91 kB / 1.363 GB, free: 10.12 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/1.234, allocations: 19.97 kB / 1.363 GB, free: 10.1 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.554e-05/1.234, allocations: 15.98 kB / 1.363 GB, free: 10.09 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004811/1.235, allocations: 390.8 kB / 1.363 GB, free: 9.707 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.4e-07/1.235, allocations: 0 / 1.363 GB, free: 9.707 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006585/1.235, allocations: 187.7 kB / 1.363 GB, free: 9.523 MB / 1.092 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.0004835/1.236, allocations: 173.4 kB / 1.364 GB, free: 9.355 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001446/1.237, allocations: 0.5141 MB / 1.364 GB, free: 8.828 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.237, allocations: 0 / 1.364 GB, free: 8.828 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0006728/1.238, allocations: 314.8 kB / 1.364 GB, free: 8.508 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/1.239, allocations: 309 kB / 1.365 GB, free: 8.211 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003056/1.242, allocations: 1.087 MB / 1.366 GB, free: 7.078 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/1.243, allocations: 0.8582 MB / 1.367 GB, free: 6.191 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/1.243, allocations: 39.42 kB / 1.367 GB, free: 6.152 MB / 1.092 GB Notification: Performance of SimCode: time 1.192e-06/1.243, allocations: 4 kB / 1.367 GB, free: 6.148 MB / 1.092 GB Notification: Performance of Templates: time 0.01531/1.258, allocations: 11.12 MB / 1.377 GB, free: 11.13 MB / 1.107 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches