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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001052/0.001052, allocations: 91.92 kB / 16.02 MB, free: 80 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.001378/0.001378, allocations: 180.2 kB / 16.92 MB, free: 6.652 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.403/1.403, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.644/2.644, allocations: 437.8 MB / 0.7128 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004067/0.0004071, allocations: 8.188 kB / 0.8735 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7161/0.7166, allocations: 153.8 MB / 1.024 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1855/0.9021, allocations: 166.5 MB / 1.186 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007235/0.9094, allocations: 4.295 MB / 1.191 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009969/0.9105, allocations: 19.88 kB / 1.191 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.9117, allocations: 306.5 kB / 1.191 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002954/0.9147, allocations: 0.9337 MB / 1.192 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002382/0.9171, allocations: 0.728 MB / 1.192 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002379/0.9195, allocations: 1.789 MB / 1.194 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008276/0.9203, allocations: 406.2 kB / 1.195 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.9219, allocations: 0.5759 MB / 1.195 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001357/0.9233, allocations: 452.9 kB / 1.196 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.9234, allocations: 20 kB / 1.196 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002049/0.9255, allocations: 1.005 MB / 1.197 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003303/0.9258, allocations: 183.3 kB / 1.197 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006158/0.9265, allocations: 316.3 kB / 1.197 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001382/0.9279, allocations: 0.8262 MB / 1.198 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.9279, allocations: 0 / 1.198 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.435e-06/0.9279, allocations: 3.938 kB / 1.198 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.853e-05/0.9279, allocations: 0 / 1.198 GB, free: 13.13 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.001899/0.9298, allocations: 0.8377 MB / 1.199 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.9299, allocations: 12.03 kB / 1.199 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/0.9317, allocations: 291 kB / 1.199 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.9328, allocations: 485.4 kB / 1.199 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003614/0.9331, allocations: 100.9 kB / 1.2 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.53e-05/0.9332, allocations: 36 kB / 1.2 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.9347, allocations: 0.6419 MB / 1.2 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.9347, allocations: 0 / 1.2 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.771e-05/0.9348, allocations: 16 kB / 1.2 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.013e-05/0.9349, allocations: 32.98 kB / 1.2 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/0.9365, allocations: 0.5816 MB / 1.201 GB, free: 10 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.004571/0.9411, allocations: 2.303 MB / 1.203 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.9421, allocations: 310.3 kB / 1.203 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006299/0.9428, allocations: 196.6 kB / 1.204 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.9428, allocations: 4 kB / 1.204 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.9429, allocations: 38.5 kB / 1.204 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.863e-06/0.9429, allocations: 0 / 1.204 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.005678/0.9486, allocations: 1.193 MB / 1.205 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/0.9487, allocations: 81.11 kB / 1.205 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008582/0.9495, allocations: 0.5495 MB / 1.205 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.126e-05/0.9496, allocations: 29.7 kB / 1.205 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/0.9499, allocations: 299.5 kB / 1.206 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.612e-05/0.9499, allocations: 43.39 kB / 1.206 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.346e-05/0.95, allocations: 25.7 kB / 1.206 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.9502, allocations: 362.8 kB / 1.206 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006942/0.9509, allocations: 207.8 kB / 1.206 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000729/0.9516, allocations: 289.3 kB / 1.207 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.953, allocations: 447.9 kB / 1.207 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.953, allocations: 0 / 1.207 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.003026/0.956, allocations: 0.7825 MB / 1.208 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.285e-05/0.9561, allocations: 9.406 kB / 1.208 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.9561, allocations: 11.88 kB / 1.208 GB, free: 2.559 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006959/0.9568, allocations: 184.8 kB / 1.208 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004033/0.9572, allocations: 79.88 kB / 1.208 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004111/0.9613, allocations: 2.121 MB / 1.21 GB, free: 44 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007574/0.9621, allocations: 95.53 kB / 1.21 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.9622, allocations: 11.94 kB / 1.21 GB, free: 15.94 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.000364/0.9625, allocations: 193.7 kB / 1.21 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.9627, allocations: 51.34 kB / 1.21 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.9628, allocations: 52.05 kB / 1.21 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.9628, allocations: 3.984 kB / 1.21 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.9628, allocations: 7.938 kB / 1.211 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.9629, allocations: 0 / 1.211 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003528/0.9664, allocations: 1.18 MB / 1.212 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.9664, allocations: 0 / 1.212 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002742/0.9667, allocations: 48.08 kB / 1.212 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005868/0.9673, allocations: 188.7 kB / 1.212 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.9673, allocations: 7.984 kB / 1.212 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003814/0.9711, allocations: 2.073 MB / 1.214 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.9712, allocations: 0 / 1.214 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002825/0.974, allocations: 0.7625 MB / 1.215 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003778/0.9744, allocations: 168.5 kB / 1.215 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.9745, allocations: 0 / 1.215 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007067/0.9752, allocations: 63.94 kB / 1.215 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.835e-05/0.9753, allocations: 7.984 kB / 1.215 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.19e-05/0.9754, allocations: 20.17 kB / 1.215 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000638/0.976, allocations: 394.8 kB / 1.215 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.8e-07/0.976, allocations: 0 / 1.215 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008158/0.9769, allocations: 191.7 kB / 1.215 GB, free: 10.3 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.0005546/0.9774, allocations: 178.9 kB / 1.216 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001962/0.9794, allocations: 0.5647 MB / 1.216 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.9794, allocations: 4.375 kB / 1.216 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.9806, allocations: 318.6 kB / 1.216 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/0.9824, allocations: 297.8 kB / 1.217 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/0.9859, allocations: 1.326 MB / 1.218 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/0.9864, allocations: 0.8546 MB / 1.219 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.9866, allocations: 43.42 kB / 1.219 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of SimCode: time 6.12e-07/0.9866, allocations: 3.938 kB / 1.219 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of Templates: time 0.01788/1.004, allocations: 11.01 MB / 1.23 GB, free: 11.71 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=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