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.001686/0.001686, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.503/1.503, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.803/2.803, allocations: 437 MB / 0.7104 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 67.89 kB / 0.8692 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6954/0.6974, allocations: 151.6 MB / 1.017 GB, free: 2.668 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2101/0.9075, allocations: 171 MB / 1.184 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007786/0.9153, allocations: 4.286 MB / 1.188 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007928/0.9162, allocations: 23.88 kB / 1.189 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.9173, allocations: 346 kB / 1.189 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002755/0.92, allocations: 0.9993 MB / 1.19 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002313/0.9224, allocations: 0.8093 MB / 1.191 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001935/0.9243, allocations: 1.29 MB / 1.192 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007368/0.9251, allocations: 487.2 kB / 1.192 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001394/0.9265, allocations: 0.6694 MB / 1.193 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/0.9276, allocations: 449.7 kB / 1.193 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.9277, allocations: 55.94 kB / 1.193 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001802/0.9296, allocations: 0.9082 MB / 1.194 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002546/0.9298, allocations: 215.4 kB / 1.195 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004013/0.9302, allocations: 338.5 kB / 1.195 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001657/0.9319, allocations: 1.118 MB / 1.196 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.9319, allocations: 0 / 1.196 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.614e-06/0.9319, allocations: 4 kB / 1.196 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.9319, allocations: 4 kB / 1.196 GB, free: 11.02 MB / 0.9512 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.001881/0.9338, allocations: 0.9428 MB / 1.197 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.9339, allocations: 15.97 kB / 1.197 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001715/0.9356, allocations: 263 kB / 1.197 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008924/0.9365, allocations: 481.4 kB / 1.198 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004065/0.9369, allocations: 88.94 kB / 1.198 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.62e-05/0.937, allocations: 36 kB / 1.198 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.9384, allocations: 0.6224 MB / 1.198 GB, free: 8.473 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.9384, allocations: 7.938 kB / 1.198 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.228e-05/0.9384, allocations: 20 kB / 1.198 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.53e-05/0.9385, allocations: 20.98 kB / 1.198 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.9401, allocations: 0.5581 MB / 1.199 GB, free: 7.867 MB / 0.9512 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.004362/0.9444, allocations: 2.28 MB / 1.201 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.9455, allocations: 298.2 kB / 1.201 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006302/0.9462, allocations: 180.6 kB / 1.202 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.9462, allocations: 4 kB / 1.202 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.9462, allocations: 30.56 kB / 1.202 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.713e-06/0.9462, allocations: 0 / 1.202 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.005574/0.9518, allocations: 1.103 MB / 1.203 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.129e-05/0.9519, allocations: 77.33 kB / 1.203 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007158/0.9526, allocations: 0.5534 MB / 1.203 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.9527, allocations: 33.64 kB / 1.203 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/0.9529, allocations: 299.5 kB / 1.204 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.909e-05/0.953, allocations: 43.45 kB / 1.204 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.9531, allocations: 61.59 kB / 1.204 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.9533, allocations: 358.8 kB / 1.204 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006712/0.954, allocations: 191.8 kB / 1.204 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007334/0.9547, allocations: 281.7 kB / 1.205 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/0.956, allocations: 420.5 kB / 1.205 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.9561, allocations: 0 / 1.205 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002906/0.959, allocations: 0.7395 MB / 1.206 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.959, allocations: 4 kB / 1.206 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.959, allocations: 4 kB / 1.206 GB, free: 0.6406 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000666/0.9597, allocations: 184.8 kB / 1.206 GB, free: 468 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/0.9601, allocations: 75.88 kB / 1.206 GB, free: 392 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004457/0.9646, allocations: 2.238 MB / 1.208 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006469/0.9652, allocations: 79.55 kB / 1.208 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.9653, allocations: 8 kB / 1.208 GB, free: 13.92 MB / 0.9669 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.0002926/0.9656, allocations: 193.7 kB / 1.208 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.9657, allocations: 47.44 kB / 1.208 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.9658, allocations: 55.98 kB / 1.208 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.9658, allocations: 3.984 kB / 1.208 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.9658, allocations: 0 / 1.208 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.9658, allocations: 0 / 1.208 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003231/0.9691, allocations: 1.152 MB / 1.21 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.9691, allocations: 0 / 1.21 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.9693, allocations: 39.95 kB / 1.21 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005552/0.9699, allocations: 184.7 kB / 1.21 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.9699, allocations: 7.984 kB / 1.21 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003867/0.9738, allocations: 2.191 MB / 1.212 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.9738, allocations: 4.062 kB / 1.212 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002705/0.9766, allocations: 0.7078 MB / 1.213 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002816/0.9768, allocations: 164.5 kB / 1.213 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.515e-05/0.9769, allocations: 8 kB / 1.213 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005913/0.9775, allocations: 51.88 kB / 1.213 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/0.9776, allocations: 11.98 kB / 1.213 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.711e-05/0.9777, allocations: 15.98 kB / 1.213 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005029/0.9782, allocations: 394.8 kB / 1.213 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9782, allocations: 4 kB / 1.213 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006378/0.9788, allocations: 175.8 kB / 1.213 GB, free: 8.273 MB / 0.9669 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.0004938/0.9793, allocations: 188 kB / 1.214 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001688/0.981, allocations: 0.5296 MB / 1.214 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.981, allocations: 0 / 1.214 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007827/0.9818, allocations: 315.1 kB / 1.214 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.9832, allocations: 301.8 kB / 1.215 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003305/0.9865, allocations: 1.08 MB / 1.216 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005533/0.9871, allocations: 0.866 MB / 1.217 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004754/0.9876, allocations: 108.5 kB / 1.217 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.9877, allocations: 35.44 kB / 1.217 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of SimCode: time 4.91e-07/0.9877, allocations: 7.938 kB / 1.217 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of Templates: time 0.0223/1.01, allocations: 12.4 MB / 1.229 GB, free: 8.555 MB / 0.9825 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=400 -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