Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001312/0.001312, allocations: 104.5 kB / 16.27 MB, free: 5.977 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.00128/0.00128, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.36/1.36, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.676/2.676, allocations: 482.4 MB / 0.7553 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 82.03 kB / 0.9245 GB, free: 16 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7266/0.7285, allocations: 162.2 MB / 1.083 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2133/0.9419, allocations: 171 MB / 1.25 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.007225/0.9492, allocations: 4.296 MB / 1.254 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000763/0.95, allocations: 23.88 kB / 1.254 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.9512, allocations: 350 kB / 1.254 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002617/0.9538, allocations: 0.9993 MB / 1.255 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002253/0.9561, allocations: 0.8006 MB / 1.256 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001895/0.958, allocations: 1.298 MB / 1.258 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007858/0.9588, allocations: 483.3 kB / 1.258 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001453/0.9603, allocations: 0.6927 MB / 1.259 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/0.9615, allocations: 442.9 kB / 1.259 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.9616, allocations: 52 kB / 1.259 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/0.9634, allocations: 0.9082 MB / 1.26 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002616/0.9637, allocations: 219.4 kB / 1.26 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004232/0.9642, allocations: 334.5 kB / 1.261 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001758/0.9659, allocations: 1.122 MB / 1.262 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.9659, allocations: 0 / 1.262 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.828e-06/0.9659, allocations: 0 / 1.262 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.869e-06/0.966, allocations: 7.938 kB / 1.262 GB, free: 7.398 MB / 0.9825 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.001778/0.9677, allocations: 0.9466 MB / 1.263 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.9678, allocations: 12.03 kB / 1.263 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/0.9695, allocations: 259 kB / 1.263 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008933/0.9704, allocations: 489.4 kB / 1.263 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003427/0.9708, allocations: 88.94 kB / 1.263 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-05/0.9708, allocations: 39.94 kB / 1.263 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.9722, allocations: 0.6302 MB / 1.264 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.9722, allocations: 0 / 1.264 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.877e-05/0.9723, allocations: 19.98 kB / 1.264 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.68e-05/0.9723, allocations: 20.98 kB / 1.264 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/0.9739, allocations: 0.5581 MB / 1.265 GB, free: 4.238 MB / 0.9825 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.004443/0.9784, allocations: 2.288 MB / 1.267 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.9795, allocations: 290.3 kB / 1.267 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006376/0.9801, allocations: 176.6 kB / 1.267 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.9801, allocations: 7.938 kB / 1.267 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.9802, allocations: 38.56 kB / 1.267 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.874e-06/0.9802, allocations: 0 / 1.267 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.005648/0.9858, allocations: 1.1 MB / 1.268 GB, free: 168 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/0.9859, allocations: 81.31 kB / 1.268 GB, free: 68 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007783/0.9867, allocations: 0.5534 MB / 1.269 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.359e-05/0.9868, allocations: 29.69 kB / 1.269 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.9871, allocations: 307.4 kB / 1.269 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.779e-05/0.9871, allocations: 43.45 kB / 1.269 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.9873, allocations: 61.61 kB / 1.269 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.9874, allocations: 354.8 kB / 1.27 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006651/0.9881, allocations: 191.8 kB / 1.27 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007472/0.9889, allocations: 273.3 kB / 1.27 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.9902, allocations: 426.2 kB / 1.271 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.9902, allocations: 0 / 1.271 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002955/0.9932, allocations: 0.7418 MB / 1.271 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.9932, allocations: 4 kB / 1.271 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.9932, allocations: 4 kB / 1.271 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006848/0.9939, allocations: 184.8 kB / 1.272 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004161/0.9944, allocations: 75.88 kB / 1.272 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004367/0.9987, allocations: 2.232 MB / 1.274 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006742/0.9994, allocations: 71.48 kB / 1.274 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.9995, allocations: 15.98 kB / 1.274 GB, free: 10.3 MB / 0.9981 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.0003038/0.9998, allocations: 190.6 kB / 1.274 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.9999, allocations: 51.34 kB / 1.274 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/1, allocations: 59.97 kB / 1.274 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/1, allocations: 0 / 1.274 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/1, allocations: 3.938 kB / 1.274 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/1, allocations: 0 / 1.274 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003393/1.003, allocations: 1.145 MB / 1.275 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.003, allocations: 0 / 1.275 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/1.004, allocations: 44.02 kB / 1.275 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000578/1.004, allocations: 180.7 kB / 1.275 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/1.004, allocations: 4 kB / 1.276 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004086/1.008, allocations: 2.195 MB / 1.278 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.008, allocations: 0 / 1.278 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002835/1.011, allocations: 0.7196 MB / 1.278 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003006/1.012, allocations: 160.5 kB / 1.279 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.977e-05/1.012, allocations: 8 kB / 1.279 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006111/1.012, allocations: 47.89 kB / 1.279 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.664e-05/1.012, allocations: 15.97 kB / 1.279 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.815e-05/1.012, allocations: 11.98 kB / 1.279 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005168/1.013, allocations: 390.8 kB / 1.279 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.094e-06/1.013, allocations: 4 kB / 1.279 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000675/1.014, allocations: 187.6 kB / 1.279 GB, free: 4.641 MB / 0.9981 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.0004811/1.014, allocations: 174.7 kB / 1.279 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001805/1.016, allocations: 0.5374 MB / 1.28 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.016, allocations: 0 / 1.28 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008339/1.017, allocations: 314.9 kB / 1.28 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/1.018, allocations: 294.9 kB / 1.28 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/1.022, allocations: 1.121 MB / 1.282 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005636/1.022, allocations: 0.8699 MB / 1.282 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/1.023, allocations: 39.42 kB / 1.282 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of SimCode: time 7.51e-07/1.023, allocations: 0 / 1.282 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of Templates: time 0.01745/1.04, allocations: 11.09 MB / 1.293 GB, free: 6.219 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches