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.001024/0.001024, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.00133/0.00133, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.3 MB / 240 MB, free: 5.355 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.574/2.574, allocations: 437.7 MB / 0.7117 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003355, allocations: 12 kB / 0.8722 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5987/0.5991, allocations: 153.8 MB / 1.022 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1546/0.7537, allocations: 155.4 MB / 1.174 GB, free: 4.238 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00591/0.7597, allocations: 4.02 MB / 1.178 GB, free: 212 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005607/0.7603, allocations: 19.88 kB / 1.178 GB, free: 192 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007343/0.761, allocations: 222.7 kB / 1.178 GB, free: 15.96 MB / 0.9356 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001831/0.7629, allocations: 0.7502 MB / 1.179 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.7645, allocations: 0.5993 MB / 1.18 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001636/0.7661, allocations: 1.512 MB / 1.181 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005427/0.7667, allocations: 356.4 kB / 1.181 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.7678, allocations: 0.5602 MB / 1.182 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000633/0.7684, allocations: 426.4 kB / 1.182 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.334e-05/0.7685, allocations: 27.98 kB / 1.182 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.7697, allocations: 0.6042 MB / 1.183 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002031/0.7699, allocations: 191.4 kB / 1.183 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.7701, allocations: 141.4 kB / 1.183 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008713/0.771, allocations: 0.7988 MB / 1.184 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.771, allocations: 0 / 1.184 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.603e-06/0.771, allocations: 0 / 1.184 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.771, allocations: 4 kB / 1.184 GB, free: 10 MB / 0.9356 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.001492/0.7725, allocations: 0.8377 MB / 1.185 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.7726, allocations: 8.562 kB / 1.185 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/0.7741, allocations: 295 kB / 1.185 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007784/0.7749, allocations: 469.7 kB / 1.186 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002919/0.7752, allocations: 104.9 kB / 1.186 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.632e-05/0.7753, allocations: 36 kB / 1.186 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.7766, allocations: 0.638 MB / 1.186 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.7766, allocations: 0 / 1.186 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.493e-05/0.7767, allocations: 20 kB / 1.186 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.382e-05/0.7767, allocations: 21 kB / 1.186 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.7781, allocations: 0.5816 MB / 1.187 GB, free: 6.895 MB / 0.9356 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.003798/0.7819, allocations: 2.303 MB / 1.189 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008976/0.7828, allocations: 310.3 kB / 1.19 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005138/0.7834, allocations: 188.7 kB / 1.19 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.7834, allocations: 4 kB / 1.19 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.7834, allocations: 42.45 kB / 1.19 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.7834, allocations: 0 / 1.19 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.004679/0.7881, allocations: 1.186 MB / 1.191 GB, free: 2.691 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.7882, allocations: 81.11 kB / 1.191 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006073/0.7888, allocations: 0.5456 MB / 1.192 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.7888, allocations: 29.7 kB / 1.192 GB, free: 2 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.789, allocations: 299.5 kB / 1.192 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.7891, allocations: 47.39 kB / 1.192 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.122e-05/0.7891, allocations: 4 kB / 1.192 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.7893, allocations: 366.7 kB / 1.192 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005681/0.7898, allocations: 203.8 kB / 1.192 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006082/0.7905, allocations: 289.3 kB / 1.193 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005747/0.791, allocations: 224.4 kB / 1.193 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.7911, allocations: 0 / 1.193 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002425/0.7935, allocations: 0.7822 MB / 1.194 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.7935, allocations: 8.078 kB / 1.194 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.7935, allocations: 8 kB / 1.194 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005837/0.7941, allocations: 188.6 kB / 1.194 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.7945, allocations: 83.88 kB / 1.194 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003911/0.7984, allocations: 2.203 MB / 1.196 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005746/0.799, allocations: 95.53 kB / 1.196 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.7991, allocations: 12 kB / 1.196 GB, free: 13.04 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002441/0.7993, allocations: 195.2 kB / 1.196 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.888e-05/0.7994, allocations: 47.44 kB / 1.196 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.7995, allocations: 59.98 kB / 1.197 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.7995, allocations: 0 / 1.197 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.7995, allocations: 0 / 1.197 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.7995, allocations: 0 / 1.197 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002864/0.8024, allocations: 1.184 MB / 1.198 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.8024, allocations: 0 / 1.198 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002409/0.8027, allocations: 55.94 kB / 1.198 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005063/0.8032, allocations: 188.7 kB / 1.198 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.8032, allocations: 0 / 1.198 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003135/0.8064, allocations: 2.065 MB / 1.2 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.8064, allocations: 4.031 kB / 1.2 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002282/0.8087, allocations: 0.7552 MB / 1.201 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002206/0.8089, allocations: 172.4 kB / 1.201 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.907e-05/0.809, allocations: 0 / 1.201 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005573/0.8095, allocations: 69.2 kB / 1.201 GB, free: 8 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.8096, allocations: 11.98 kB / 1.201 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.279e-05/0.8097, allocations: 15.98 kB / 1.201 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004506/0.8101, allocations: 386.8 kB / 1.201 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.8e-07/0.8101, allocations: 7.938 kB / 1.201 GB, free: 7.59 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006266/0.8107, allocations: 183.8 kB / 1.201 GB, free: 7.41 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003875/0.8111, allocations: 169.9 kB / 1.202 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001924/0.8131, allocations: 0.6467 MB / 1.202 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.8131, allocations: 4 kB / 1.202 GB, free: 6.578 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000675/0.8138, allocations: 318.9 kB / 1.203 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.8151, allocations: 297.9 kB / 1.203 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002758/0.8179, allocations: 1.246 MB / 1.204 GB, free: 4.684 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.8183, allocations: 0.8701 MB / 1.205 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004373/0.8188, allocations: 104.5 kB / 1.205 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.497e-05/0.8189, allocations: 35.44 kB / 1.205 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of SimCode: time 3.21e-07/0.8189, allocations: 4 kB / 1.205 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of Templates: time 0.0183/0.8372, allocations: 11.34 MB / 1.216 GB, free: 8.48 MB / 0.9669 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