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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001785/0.001785, allocations: 113.5 kB / 16.42 MB, free: 6.5 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.001919/0.001919, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.345/1.345, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.669/2.669, allocations: 469.4 MB / 0.7428 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 67.89 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7314/0.7327, allocations: 159.1 MB / 1.221 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1772/0.91, allocations: 171 MB / 1.388 GB, free: 6.633 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.00641/0.9165, allocations: 4.274 MB / 1.392 GB, free: 2.348 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000728/0.9172, allocations: 27.81 kB / 1.392 GB, free: 2.32 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.9184, allocations: 366 kB / 1.392 GB, free: 1.961 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002468/0.9209, allocations: 1.031 MB / 1.393 GB, free: 0.9258 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.9229, allocations: 0.8207 MB / 1.394 GB, free: 112 kB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001768/0.9247, allocations: 1.298 MB / 1.396 GB, free: 14.81 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007778/0.9255, allocations: 471.3 kB / 1.396 GB, free: 14.34 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001355/0.9269, allocations: 0.7083 MB / 1.397 GB, free: 13.63 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/0.928, allocations: 454.7 kB / 1.397 GB, free: 13.19 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.9282, allocations: 52 kB / 1.397 GB, free: 13.14 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001588/0.9298, allocations: 0.916 MB / 1.398 GB, free: 12.22 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002564/0.93, allocations: 219.4 kB / 1.398 GB, free: 12 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0004362/0.9305, allocations: 326.5 kB / 1.399 GB, free: 11.68 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.9321, allocations: 1.135 MB / 1.4 GB, free: 10.55 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.9321, allocations: 0 / 1.4 GB, free: 10.55 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.302e-06/0.9321, allocations: 0 / 1.4 GB, free: 10.55 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.855e-05/0.9322, allocations: 4 kB / 1.4 GB, free: 10.54 MB / 1.123 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.001836/0.934, allocations: 0.9485 MB / 1.401 GB, free: 9.547 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.9341, allocations: 12.02 kB / 1.401 GB, free: 9.535 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001756/0.9358, allocations: 263.1 kB / 1.401 GB, free: 9.277 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009181/0.9367, allocations: 0.4896 MB / 1.401 GB, free: 8.75 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.77e-05/0.9368, allocations: 33 kB / 1.401 GB, free: 8.719 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.273e-05/0.9369, allocations: 43.94 kB / 1.401 GB, free: 8.676 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.9382, allocations: 0.6107 MB / 1.402 GB, free: 8.039 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.9382, allocations: 0 / 1.402 GB, free: 8.039 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.07e-05/0.9383, allocations: 20 kB / 1.402 GB, free: 8.02 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.564e-05/0.9383, allocations: 24.92 kB / 1.402 GB, free: 7.996 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.9398, allocations: 0.5503 MB / 1.403 GB, free: 7.441 MB / 1.123 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.004306/0.9441, allocations: 2.26 MB / 1.405 GB, free: 5.051 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.9452, allocations: 278.3 kB / 1.405 GB, free: 4.77 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000589/0.9458, allocations: 168.7 kB / 1.405 GB, free: 4.602 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.9458, allocations: 7.922 kB / 1.405 GB, free: 4.594 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.9458, allocations: 38.56 kB / 1.405 GB, free: 4.547 MB / 1.123 GB Notification: Performance of pre-optimization done (n=11): time 2.204e-06/0.9459, allocations: 4 kB / 1.405 GB, free: 4.543 MB / 1.123 GB Notification: Performance of matching and sorting (n=11): time 0.005638/0.9515, allocations: 1.088 MB / 1.406 GB, free: 3.426 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.9516, allocations: 81.11 kB / 1.406 GB, free: 3.328 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006558/0.9522, allocations: 0.5457 MB / 1.407 GB, free: 2.773 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.862e-05/0.9523, allocations: 33.7 kB / 1.407 GB, free: 2.734 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.9525, allocations: 303.5 kB / 1.407 GB, free: 2.434 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.664e-05/0.9525, allocations: 35.45 kB / 1.407 GB, free: 2.398 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.9527, allocations: 61.61 kB / 1.407 GB, free: 2.332 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.9528, allocations: 362.7 kB / 1.408 GB, free: 1.969 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006326/0.9535, allocations: 187.8 kB / 1.408 GB, free: 1.785 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006625/0.9541, allocations: 273.3 kB / 1.408 GB, free: 1.484 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.9554, allocations: 404.2 kB / 1.409 GB, free: 1.059 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.9554, allocations: 0 / 1.409 GB, free: 1.059 MB / 1.123 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00278/0.9582, allocations: 0.7225 MB / 1.409 GB, free: 336 kB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.9582, allocations: 15.92 kB / 1.409 GB, free: 320 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.9582, allocations: 0 / 1.409 GB, free: 320 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006551/0.9589, allocations: 188.8 kB / 1.409 GB, free: 128 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/0.9593, allocations: 67.88 kB / 1.409 GB, free: 60 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004167/0.9635, allocations: 2.233 MB / 1.412 GB, free: 13.69 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006335/0.9641, allocations: 79.45 kB / 1.412 GB, free: 13.61 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.9641, allocations: 12 kB / 1.412 GB, free: 13.6 MB / 1.139 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.0002719/0.9644, allocations: 190.3 kB / 1.412 GB, free: 13.41 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.9645, allocations: 47.44 kB / 1.412 GB, free: 13.36 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.9647, allocations: 56.05 kB / 1.412 GB, free: 13.3 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.9647, allocations: 7.922 kB / 1.412 GB, free: 13.29 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.9647, allocations: 0 / 1.412 GB, free: 13.29 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002736/0.965, allocations: 160.5 kB / 1.412 GB, free: 13.12 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9e-05/0.9651, allocations: 8 kB / 1.412 GB, free: 13.11 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005912/0.9657, allocations: 39.95 kB / 1.412 GB, free: 13.07 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/0.9657, allocations: 19.97 kB / 1.412 GB, free: 13.05 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002412/0.9681, allocations: 0.6144 MB / 1.413 GB, free: 12.43 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001879/0.97, allocations: 0.7367 MB / 1.414 GB, free: 11.67 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005576/0.9706, allocations: 168 kB / 1.414 GB, free: 11.51 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0005044/0.9711, allocations: 394.8 kB / 1.414 GB, free: 11.12 MB / 1.139 GB Notification: Performance of Backend: time 4.91e-07/0.9711, allocations: 0 / 1.414 GB, free: 11.12 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002271/0.9734, allocations: 0.653 MB / 1.415 GB, free: 10.46 MB / 1.139 GB Notification: Performance of SimCode: time 0.002811/0.9762, allocations: 1.539 MB / 1.416 GB, free: 8.871 MB / 1.139 GB Notification: Performance of Templates: time 0.02396/1, allocations: 14.11 MB / 1.43 GB, free: 10.93 MB / 1.154 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=480 -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