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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 110.4 kB / 17.08 MB, free: 5.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 193.2 kB / 20.03 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.908/2.908, allocations: 489.3 MB / 0.7687 GB, free: 3.758 MB / 0.6075 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 67.89 kB / 1.103 GB, free: 0.832 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8109/0.8129, allocations: 163.8 MB / 1.263 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1984/1.011, allocations: 171 MB / 1.43 GB, free: 8.258 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.00686/1.018, allocations: 4.311 MB / 1.434 GB, free: 4.758 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007184/1.019, allocations: 21.5 kB / 1.434 GB, free: 4.75 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001007/1.02, allocations: 351.4 kB / 1.434 GB, free: 4.469 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002411/1.022, allocations: 0.9934 MB / 1.435 GB, free: 3.699 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002131/1.025, allocations: 0.8111 MB / 1.436 GB, free: 3.102 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001851/1.026, allocations: 1.3 MB / 1.437 GB, free: 2.359 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006711/1.027, allocations: 475.8 kB / 1.438 GB, free: 2.078 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001381/1.029, allocations: 0.7044 MB / 1.438 GB, free: 1.652 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/1.03, allocations: 448.5 kB / 1.439 GB, free: 1.398 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 9.669e-05/1.03, allocations: 52.44 kB / 1.439 GB, free: 1.398 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/1.031, allocations: 0.9119 MB / 1.44 GB, free: 0.8984 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002428/1.032, allocations: 210.7 kB / 1.44 GB, free: 0.7539 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0003828/1.032, allocations: 334.5 kB / 1.44 GB, free: 0.5469 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001622/1.034, allocations: 1.138 MB / 1.441 GB, free: 15.82 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/1.034, allocations: 0 / 1.441 GB, free: 15.82 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.152e-06/1.034, allocations: 0 / 1.441 GB, free: 15.82 MB / 1.139 GB Notification: Performance of Transformations before backend: time 8.366e-06/1.034, allocations: 0 / 1.441 GB, free: 15.82 MB / 1.139 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.001659/1.035, allocations: 0.9708 MB / 1.442 GB, free: 15.03 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/1.035, allocations: 13.48 kB / 1.442 GB, free: 15.02 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001626/1.037, allocations: 263.5 kB / 1.443 GB, free: 14.91 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009118/1.038, allocations: 0.4922 MB / 1.443 GB, free: 14.49 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/1.038, allocations: 30.66 kB / 1.443 GB, free: 14.48 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.424e-05/1.038, allocations: 38.5 kB / 1.443 GB, free: 14.46 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/1.039, allocations: 0.6147 MB / 1.444 GB, free: 14.08 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/1.039, allocations: 3.938 kB / 1.444 GB, free: 14.08 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.886e-05/1.04, allocations: 17.38 kB / 1.444 GB, free: 14.07 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.081e-05/1.04, allocations: 21.98 kB / 1.444 GB, free: 14.06 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/1.041, allocations: 0.5485 MB / 1.444 GB, free: 13.8 MB / 1.139 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.00423/1.045, allocations: 2.273 MB / 1.446 GB, free: 11.56 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009712/1.046, allocations: 278.3 kB / 1.447 GB, free: 11.28 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005752/1.047, allocations: 168.7 kB / 1.447 GB, free: 11.11 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/1.047, allocations: 7.938 kB / 1.447 GB, free: 11.1 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/1.047, allocations: 38.55 kB / 1.447 GB, free: 11.05 MB / 1.139 GB Notification: Performance of pre-optimization done (n=11): time 2.204e-06/1.047, allocations: 0 / 1.447 GB, free: 11.05 MB / 1.139 GB Notification: Performance of matching and sorting (n=11): time 0.005245/1.052, allocations: 1.092 MB / 1.448 GB, free: 9.934 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/1.052, allocations: 81.05 kB / 1.448 GB, free: 9.836 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007359/1.053, allocations: 0.5535 MB / 1.449 GB, free: 9.273 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.894e-05/1.053, allocations: 33.7 kB / 1.449 GB, free: 9.234 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002484/1.053, allocations: 304 kB / 1.449 GB, free: 8.934 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.333e-05/1.053, allocations: 47.67 kB / 1.449 GB, free: 8.887 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/1.054, allocations: 57.59 kB / 1.449 GB, free: 8.824 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001899/1.054, allocations: 358.8 kB / 1.449 GB, free: 8.465 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006313/1.054, allocations: 191.8 kB / 1.45 GB, free: 8.277 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000672/1.055, allocations: 270.2 kB / 1.45 GB, free: 7.98 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/1.056, allocations: 402.7 kB / 1.45 GB, free: 7.559 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/1.056, allocations: 4 kB / 1.45 GB, free: 7.555 MB / 1.139 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002779/1.059, allocations: 0.7337 MB / 1.451 GB, free: 6.812 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/1.059, allocations: 4 kB / 1.451 GB, free: 6.809 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/1.059, allocations: 4 kB / 1.451 GB, free: 6.805 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006641/1.06, allocations: 184.8 kB / 1.451 GB, free: 6.621 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003763/1.06, allocations: 71.88 kB / 1.451 GB, free: 6.551 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004206/1.064, allocations: 2.237 MB / 1.453 GB, free: 4.172 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006806/1.065, allocations: 75.64 kB / 1.453 GB, free: 4.098 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.183e-05/1.065, allocations: 12 kB / 1.453 GB, free: 4.086 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.0003036/1.065, allocations: 189.7 kB / 1.454 GB, free: 3.891 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/1.066, allocations: 55.67 kB / 1.454 GB, free: 3.836 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/1.066, allocations: 55.97 kB / 1.454 GB, free: 3.777 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.066, allocations: 4 kB / 1.454 GB, free: 3.773 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/1.066, allocations: 0 / 1.454 GB, free: 3.773 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/1.066, allocations: 0 / 1.454 GB, free: 3.773 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003147/1.069, allocations: 1.137 MB / 1.455 GB, free: 2.57 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/1.069, allocations: 0 / 1.455 GB, free: 2.57 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/1.069, allocations: 43.95 kB / 1.455 GB, free: 2.527 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005672/1.07, allocations: 184.7 kB / 1.455 GB, free: 2.344 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/1.07, allocations: 96 / 1.455 GB, free: 2.344 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003852/1.074, allocations: 2.187 MB / 1.457 GB, free: 16 kB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.074, allocations: 4.031 kB / 1.457 GB, free: 12 kB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002644/1.076, allocations: 0.7004 MB / 1.458 GB, free: 15.29 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002644/1.076, allocations: 168.7 kB / 1.458 GB, free: 15.1 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.87e-05/1.077, allocations: 0 / 1.458 GB, free: 15.1 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005848/1.077, allocations: 58.52 kB / 1.458 GB, free: 15.05 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/1.077, allocations: 11.98 kB / 1.458 GB, free: 15.04 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.047e-05/1.077, allocations: 19.92 kB / 1.458 GB, free: 15.02 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0005043/1.078, allocations: 394.8 kB / 1.459 GB, free: 14.63 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.61e-07/1.078, allocations: 0 / 1.459 GB, free: 14.63 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006458/1.078, allocations: 187.8 kB / 1.459 GB, free: 14.45 MB / 1.154 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.0004252/1.079, allocations: 174 kB / 1.459 GB, free: 14.28 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001644/1.081, allocations: 0.5257 MB / 1.459 GB, free: 13.74 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.081, allocations: 0 / 1.459 GB, free: 13.74 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0007633/1.081, allocations: 299 kB / 1.46 GB, free: 13.44 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/1.083, allocations: 307 kB / 1.46 GB, free: 13.14 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/1.086, allocations: 1.112 MB / 1.461 GB, free: 11.99 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005248/1.086, allocations: 0.8621 MB / 1.462 GB, free: 11.1 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/1.087, allocations: 39.42 kB / 1.462 GB, free: 11.06 MB / 1.154 GB Notification: Performance of SimCode: time 3.31e-07/1.087, allocations: 0 / 1.462 GB, free: 11.06 MB / 1.154 GB Notification: Performance of Templates: time 0.01619/1.103, allocations: 11.12 MB / 1.473 GB, free: 12 kB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.86089133610949]