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.001272/0.001272, allocations: 113 kB / 16.42 MB, free: 6.453 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.001214/0.001214, allocations: 185.7 kB / 17.35 MB, free: 5.734 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.538/2.538, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 59.91 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7352/0.7366, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.166/0.9026, allocations: 171 MB / 1.334 GB, free: 8.211 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006175/0.9088, allocations: 4.295 MB / 1.338 GB, free: 3.906 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006684/0.9095, allocations: 19.88 kB / 1.339 GB, free: 3.887 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.9107, allocations: 370 kB / 1.339 GB, free: 3.523 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002429/0.9131, allocations: 1.031 MB / 1.34 GB, free: 2.488 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.9151, allocations: 0.8159 MB / 1.341 GB, free: 1.676 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001632/0.9168, allocations: 1.294 MB / 1.342 GB, free: 388 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000708/0.9175, allocations: 487.2 kB / 1.342 GB, free: 15.89 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.9188, allocations: 0.6928 MB / 1.343 GB, free: 15.2 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.9199, allocations: 451.4 kB / 1.343 GB, free: 14.76 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.92, allocations: 56 kB / 1.344 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.9216, allocations: 0.9199 MB / 1.344 GB, free: 13.79 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002537/0.9219, allocations: 215.3 kB / 1.345 GB, free: 13.57 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004226/0.9223, allocations: 330.5 kB / 1.345 GB, free: 13.25 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00167/0.924, allocations: 1.142 MB / 1.346 GB, free: 12.11 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.924, allocations: 0 / 1.346 GB, free: 12.11 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.143e-06/0.924, allocations: 0 / 1.346 GB, free: 12.11 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.135e-05/0.924, allocations: 0 / 1.346 GB, free: 12.11 MB / 1.076 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.001755/0.9258, allocations: 0.9572 MB / 1.347 GB, free: 11.1 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.9258, allocations: 12.92 kB / 1.347 GB, free: 11.09 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/0.9275, allocations: 271.3 kB / 1.347 GB, free: 10.82 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009121/0.9284, allocations: 0.4978 MB / 1.348 GB, free: 10.28 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.9285, allocations: 29 kB / 1.348 GB, free: 10.25 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-05/0.9286, allocations: 44 kB / 1.348 GB, free: 10.21 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.9298, allocations: 0.6184 MB / 1.348 GB, free: 9.57 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.9299, allocations: 0 / 1.348 GB, free: 9.57 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.71e-05/0.9299, allocations: 20 kB / 1.348 GB, free: 9.551 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.304e-05/0.93, allocations: 25 kB / 1.348 GB, free: 9.523 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/0.9314, allocations: 0.5425 MB / 1.349 GB, free: 8.984 MB / 1.076 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.003886/0.9353, allocations: 2.265 MB / 1.351 GB, free: 6.586 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009411/0.9363, allocations: 286.2 kB / 1.352 GB, free: 6.297 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005606/0.9368, allocations: 164.7 kB / 1.352 GB, free: 6.133 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.9369, allocations: 11.92 kB / 1.352 GB, free: 6.121 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.9369, allocations: 38.56 kB / 1.352 GB, free: 6.074 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 2.064e-06/0.9369, allocations: 0 / 1.352 GB, free: 6.074 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.005206/0.9421, allocations: 1.084 MB / 1.353 GB, free: 4.961 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.9422, allocations: 85.11 kB / 1.353 GB, free: 4.859 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00063/0.9428, allocations: 0.5496 MB / 1.353 GB, free: 4.301 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.308e-05/0.9429, allocations: 29.7 kB / 1.353 GB, free: 4.266 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.9431, allocations: 300.1 kB / 1.354 GB, free: 3.969 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/0.9431, allocations: 43.64 kB / 1.354 GB, free: 3.926 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.9433, allocations: 65.64 kB / 1.354 GB, free: 3.855 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.9434, allocations: 354.7 kB / 1.354 GB, free: 3.5 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006202/0.944, allocations: 195.8 kB / 1.354 GB, free: 3.309 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006682/0.9447, allocations: 269.2 kB / 1.355 GB, free: 3.012 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.9459, allocations: 414.6 kB / 1.355 GB, free: 2.578 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.9459, allocations: 0 / 1.355 GB, free: 2.578 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002771/0.9487, allocations: 0.7287 MB / 1.356 GB, free: 1.84 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.9487, allocations: 4 kB / 1.356 GB, free: 1.836 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.9487, allocations: 4 kB / 1.356 GB, free: 1.832 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006535/0.9494, allocations: 188.8 kB / 1.356 GB, free: 1.645 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/0.9498, allocations: 71.88 kB / 1.356 GB, free: 1.574 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003975/0.9538, allocations: 2.233 MB / 1.358 GB, free: 15.21 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006396/0.9544, allocations: 79.58 kB / 1.358 GB, free: 15.13 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.9545, allocations: 12 kB / 1.358 GB, free: 15.12 MB / 1.092 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.0002595/0.9547, allocations: 189.8 kB / 1.358 GB, free: 14.92 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.9549, allocations: 51.72 kB / 1.358 GB, free: 14.87 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.955, allocations: 52.03 kB / 1.359 GB, free: 14.82 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.955, allocations: 3.938 kB / 1.359 GB, free: 14.82 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.955, allocations: 0 / 1.359 GB, free: 14.82 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.9552, allocations: 172.7 kB / 1.359 GB, free: 14.63 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.762e-05/0.9553, allocations: 4 kB / 1.359 GB, free: 14.62 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006134/0.9559, allocations: 50.58 kB / 1.359 GB, free: 14.58 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.368e-05/0.956, allocations: 11.98 kB / 1.359 GB, free: 14.57 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002559/0.9586, allocations: 0.6183 MB / 1.359 GB, free: 13.94 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001937/0.9605, allocations: 0.7445 MB / 1.36 GB, free: 13.18 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005701/0.9611, allocations: 171.8 kB / 1.36 GB, free: 13.01 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004873/0.9616, allocations: 398.8 kB / 1.361 GB, free: 12.62 MB / 1.092 GB Notification: Performance of Backend: time 2.71e-07/0.9616, allocations: 0 / 1.361 GB, free: 12.62 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002324/0.964, allocations: 0.6404 MB / 1.361 GB, free: 11.97 MB / 1.092 GB Notification: Performance of SimCode: time 0.002472/0.9665, allocations: 1.548 MB / 1.363 GB, free: 10.37 MB / 1.092 GB Notification: Performance of Templates: time 0.02179/0.9883, allocations: 14.13 MB / 1.377 GB, free: 12.42 MB / 1.107 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