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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007979/0.0007979, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007742/0.0007742, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8747/0.8747, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.741/1.741, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.422e-06/1.422e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.687e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.6721/0.6721, allocations: 150.8 MB / 1.148 GB, free: 5.637 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.005285/0.6774, allocations: 4.02 MB / 1.152 GB, free: 2.93 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000351/0.6778, allocations: 30.78 kB / 1.152 GB, free: 2.914 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0009326/0.6787, allocations: 331 kB / 1.152 GB, free: 2.738 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001937/0.6806, allocations: 1.08 MB / 1.153 GB, free: 2.137 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001514/0.6822, allocations: 0.8564 MB / 1.154 GB, free: 1.699 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001228/0.6834, allocations: 1.328 MB / 1.156 GB, free: 1.078 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004171/0.6838, allocations: 369.9 kB / 1.156 GB, free: 0.918 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.6848, allocations: 0.8978 MB / 1.157 GB, free: 0.5195 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007755/0.6856, allocations: 418.8 kB / 1.157 GB, free: 404 kB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 6.523e-05/0.6857, allocations: 52.72 kB / 1.157 GB, free: 404 kB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009137/0.6866, allocations: 0.7635 MB / 1.158 GB, free: 152 kB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002009/0.6868, allocations: 229 kB / 1.158 GB, free: 40 kB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002318/0.687, allocations: 239.6 kB / 1.159 GB, free: 15.95 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.6884, allocations: 1.174 MB / 1.16 GB, free: 15.55 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.6884, allocations: 0 / 1.16 GB, free: 15.55 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.714e-06/0.6884, allocations: 1.438 kB / 1.16 GB, free: 15.55 MB / 1.026 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.6884, allocations: 3.938 kB / 1.16 GB, free: 15.54 MB / 1.026 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.001199/0.6896, allocations: 0.8864 MB / 1.161 GB, free: 14.93 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.6896, allocations: 10.64 kB / 1.161 GB, free: 14.93 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008548/0.6905, allocations: 264.8 kB / 1.161 GB, free: 14.88 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006114/0.6911, allocations: 439 kB / 1.161 GB, free: 14.59 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.6911, allocations: 34.53 kB / 1.161 GB, free: 14.57 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.978e-05/0.6912, allocations: 38.22 kB / 1.161 GB, free: 14.56 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009376/0.6921, allocations: 0.8963 MB / 1.162 GB, free: 13.95 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.6921, allocations: 4.594 kB / 1.162 GB, free: 13.95 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.869e-05/0.6921, allocations: 17.94 kB / 1.162 GB, free: 13.94 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/0.6922, allocations: 27.2 kB / 1.162 GB, free: 13.93 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00087/0.693, allocations: 0.543 MB / 1.163 GB, free: 13.77 MB / 1.026 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.002405/0.6955, allocations: 1.783 MB / 1.164 GB, free: 12.71 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005614/0.696, allocations: 274.3 kB / 1.165 GB, free: 12.62 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/0.6963, allocations: 165.8 kB / 1.165 GB, free: 12.58 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.6963, allocations: 7.172 kB / 1.165 GB, free: 12.57 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.6963, allocations: 37.25 kB / 1.165 GB, free: 12.53 MB / 1.026 GB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.6963, allocations: 0 / 1.165 GB, free: 12.53 MB / 1.026 GB Notification: Performance of matching and sorting (n=11): time 0.00263/0.699, allocations: 1.004 MB / 1.166 GB, free: 12.31 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.699, allocations: 78.33 kB / 1.166 GB, free: 12.22 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.6994, allocations: 424.9 kB / 1.166 GB, free: 12 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.6994, allocations: 31.8 kB / 1.166 GB, free: 11.97 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.6996, allocations: 315.6 kB / 1.167 GB, free: 11.71 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.6996, allocations: 36.42 kB / 1.167 GB, free: 11.69 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.641e-05/0.6997, allocations: 62.56 kB / 1.167 GB, free: 11.65 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.6998, allocations: 347.4 kB / 1.167 GB, free: 11.32 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003448/0.7002, allocations: 187.9 kB / 1.167 GB, free: 11.28 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003755/0.7005, allocations: 308.8 kB / 1.168 GB, free: 11.09 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006309/0.7012, allocations: 403 kB / 1.168 GB, free: 10.91 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.7012, allocations: 0 / 1.168 GB, free: 10.91 MB / 1.026 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001382/0.7025, allocations: 0.7131 MB / 1.169 GB, free: 10.7 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.7026, allocations: 10.02 kB / 1.169 GB, free: 10.7 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.7026, allocations: 2.375 kB / 1.169 GB, free: 10.7 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004083/0.703, allocations: 188.8 kB / 1.169 GB, free: 10.65 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.7032, allocations: 67.44 kB / 1.169 GB, free: 10.64 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00226/0.7054, allocations: 2.077 MB / 1.171 GB, free: 9.137 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.7057, allocations: 57.81 kB / 1.171 GB, free: 9.121 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.7057, allocations: 12.61 kB / 1.171 GB, free: 9.117 MB / 1.026 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.0001628/0.7059, allocations: 199.7 kB / 1.171 GB, free: 8.957 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-05/0.7059, allocations: 44.36 kB / 1.171 GB, free: 8.934 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.576e-05/0.706, allocations: 37.67 kB / 1.171 GB, free: 8.918 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.706, allocations: 1.062 kB / 1.171 GB, free: 8.918 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.706, allocations: 1.656 kB / 1.171 GB, free: 8.918 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.706, allocations: 0.7969 kB / 1.171 GB, free: 8.918 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.7076, allocations: 0.9991 MB / 1.172 GB, free: 8.461 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.7076, allocations: 1.188 kB / 1.172 GB, free: 8.461 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.7077, allocations: 45.47 kB / 1.172 GB, free: 8.453 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003069/0.708, allocations: 181.1 kB / 1.173 GB, free: 8.406 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.7081, allocations: 3.734 kB / 1.173 GB, free: 8.406 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/0.7101, allocations: 2.04 MB / 1.175 GB, free: 6.902 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.7101, allocations: 0 / 1.175 GB, free: 6.902 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.7113, allocations: 0.683 MB / 1.175 GB, free: 6.625 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.7115, allocations: 83.44 kB / 1.175 GB, free: 6.582 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.7115, allocations: 7.609 kB / 1.175 GB, free: 6.578 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.7118, allocations: 48.27 kB / 1.175 GB, free: 6.574 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.7118, allocations: 13.78 kB / 1.175 GB, free: 6.57 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/0.7118, allocations: 13.42 kB / 1.175 GB, free: 6.57 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0002378/0.7121, allocations: 288 kB / 1.176 GB, free: 6.434 MB / 1.026 GB Notification: Performance of sort global known variables: time 8e-08/0.7121, allocations: 0 / 1.176 GB, free: 6.434 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0004534/0.7125, allocations: 197.8 kB / 1.176 GB, free: 6.395 MB / 1.026 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.0002605/0.7128, allocations: 172 kB / 1.176 GB, free: 6.277 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.000897/0.7137, allocations: 0.5135 MB / 1.176 GB, free: 6.059 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.7137, allocations: 1.5 kB / 1.176 GB, free: 6.059 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0003962/0.7141, allocations: 299.2 kB / 1.177 GB, free: 5.895 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006033/0.7147, allocations: 205.5 kB / 1.177 GB, free: 5.836 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.7164, allocations: 1.067 MB / 1.178 GB, free: 5.301 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.7166, allocations: 261 kB / 1.178 GB, free: 5.195 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.233e-05/0.7167, allocations: 32.95 kB / 1.178 GB, free: 5.188 MB / 1.026 GB Notification: Performance of SimCode: time 5.91e-07/0.7167, allocations: 0 / 1.178 GB, free: 5.188 MB / 1.026 GB Notification: Performance of Templates: time 0.008787/0.7255, allocations: 9.957 MB / 1.188 GB, free: 2.371 MB / 1.026 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.258674339391291]