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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 112.9 kB / 18.94 MB, free: 2.93 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.001362/0.001362, allocations: 186.3 kB / 22.22 MB, free: 5.105 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.425/1.425, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.645/2.645, allocations: 443.5 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 68.12 kB / 1.061 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9465/0.9486, allocations: 160.8 MB / 1.218 GB, free: 3.793 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2152/1.164, allocations: 171.8 MB / 1.386 GB, free: 10.92 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.007351/1.171, allocations: 4.33 MB / 1.39 GB, free: 6.574 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008533/1.172, allocations: 27.75 kB / 1.39 GB, free: 6.547 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001186/1.173, allocations: 362 kB / 1.391 GB, free: 6.191 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002935/1.176, allocations: 1.062 MB / 1.392 GB, free: 5.125 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002553/1.179, allocations: 0.8381 MB / 1.393 GB, free: 4.289 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002188/1.181, allocations: 1.317 MB / 1.394 GB, free: 2.973 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006675/1.182, allocations: 372 kB / 1.394 GB, free: 2.605 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001548/1.183, allocations: 0.7187 MB / 1.395 GB, free: 1.887 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/1.184, allocations: 478.3 kB / 1.395 GB, free: 1.422 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001051/1.184, allocations: 52 kB / 1.396 GB, free: 1.371 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002209/1.187, allocations: 0.9549 MB / 1.396 GB, free: 424 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002853/1.187, allocations: 223.3 kB / 1.397 GB, free: 200 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004619/1.187, allocations: 330.6 kB / 1.397 GB, free: 15.87 MB / 1.108 GB Notification: Performance of NFConvertDAE.convert: time 0.001917/1.189, allocations: 1.141 MB / 1.398 GB, free: 14.73 MB / 1.108 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.189, allocations: 0 / 1.398 GB, free: 14.73 MB / 1.108 GB Notification: Performance of FrontEnd: time 2.064e-06/1.189, allocations: 3.938 kB / 1.398 GB, free: 14.72 MB / 1.108 GB Notification: Performance of Transformations before backend: time 1.109e-05/1.189, allocations: 4 kB / 1.398 GB, free: 14.72 MB / 1.108 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.001839/1.191, allocations: 0.9611 MB / 1.399 GB, free: 13.71 MB / 1.108 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/1.191, allocations: 8.031 kB / 1.399 GB, free: 13.7 MB / 1.108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/1.193, allocations: 267.3 kB / 1.399 GB, free: 13.44 MB / 1.108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009365/1.194, allocations: 0.4978 MB / 1.4 GB, free: 12.9 MB / 1.108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.344e-05/1.194, allocations: 32.94 kB / 1.4 GB, free: 12.86 MB / 1.108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.223e-05/1.194, allocations: 40 kB / 1.4 GB, free: 12.82 MB / 1.108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/1.195, allocations: 0.6185 MB / 1.4 GB, free: 12.18 MB / 1.108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/1.195, allocations: 3.938 kB / 1.4 GB, free: 12.18 MB / 1.108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.567e-05/1.195, allocations: 20 kB / 1.4 GB, free: 12.16 MB / 1.108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.844e-05/1.195, allocations: 17 kB / 1.4 GB, free: 12.14 MB / 1.108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/1.197, allocations: 0.5503 MB / 1.401 GB, free: 11.59 MB / 1.108 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.004511/1.201, allocations: 2.265 MB / 1.403 GB, free: 9.195 MB / 1.108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000897/1.202, allocations: 274.3 kB / 1.404 GB, free: 8.918 MB / 1.108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000518/1.203, allocations: 164.6 kB / 1.404 GB, free: 8.754 MB / 1.108 GB Notification: Performance of preOpt evalFunc (simulation): time 4.274e-05/1.203, allocations: 11.94 kB / 1.404 GB, free: 8.742 MB / 1.108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/1.203, allocations: 30.56 kB / 1.404 GB, free: 8.703 MB / 1.108 GB Notification: Performance of pre-optimization done (n=11): time 2.284e-06/1.203, allocations: 4 kB / 1.404 GB, free: 8.699 MB / 1.108 GB Notification: Performance of matching and sorting (n=11): time 0.005032/1.208, allocations: 1.084 MB / 1.405 GB, free: 7.586 MB / 1.108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/1.208, allocations: 81.11 kB / 1.405 GB, free: 7.488 MB / 1.108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007797/1.209, allocations: 0.5534 MB / 1.405 GB, free: 6.926 MB / 1.108 GB Notification: Performance of collectPreVariables (initialization): time 4.95e-05/1.209, allocations: 29.7 kB / 1.405 GB, free: 6.891 MB / 1.108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/1.209, allocations: 312.1 kB / 1.406 GB, free: 6.582 MB / 1.108 GB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/1.209, allocations: 39.64 kB / 1.406 GB, free: 6.543 MB / 1.108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/1.209, allocations: 61.66 kB / 1.406 GB, free: 6.477 MB / 1.108 GB Notification: Performance of setup shared object (initialization): time 0.0001773/1.209, allocations: 358.8 kB / 1.406 GB, free: 6.117 MB / 1.108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005734/1.21, allocations: 187.8 kB / 1.406 GB, free: 5.934 MB / 1.108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006123/1.211, allocations: 269.3 kB / 1.407 GB, free: 5.637 MB / 1.108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/1.212, allocations: 406.2 kB / 1.407 GB, free: 5.211 MB / 1.108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.212, allocations: 7.938 kB / 1.407 GB, free: 5.203 MB / 1.108 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002667/1.214, allocations: 0.7267 MB / 1.408 GB, free: 4.469 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/1.214, allocations: 8 kB / 1.408 GB, free: 4.461 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/1.214, allocations: 8 kB / 1.408 GB, free: 4.453 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007118/1.215, allocations: 188.8 kB / 1.408 GB, free: 4.266 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000382/1.215, allocations: 63.89 kB / 1.408 GB, free: 4.203 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004501/1.22, allocations: 2.226 MB / 1.41 GB, free: 1.844 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007379/1.221, allocations: 79.64 kB / 1.41 GB, free: 1.766 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/1.221, allocations: 15.98 kB / 1.41 GB, free: 1.75 MB / 1.108 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.0003511/1.221, allocations: 187.3 kB / 1.41 GB, free: 1.559 MB / 1.108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/1.221, allocations: 47.91 kB / 1.41 GB, free: 1.512 MB / 1.108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/1.221, allocations: 63.97 kB / 1.41 GB, free: 1.449 MB / 1.108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/1.221, allocations: 3.938 kB / 1.41 GB, free: 1.445 MB / 1.108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.221, allocations: 4 kB / 1.411 GB, free: 1.441 MB / 1.108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.221, allocations: 0 / 1.411 GB, free: 1.441 MB / 1.108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003179/1.224, allocations: 1.133 MB / 1.412 GB, free: 248 kB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/1.224, allocations: 3.984 kB / 1.412 GB, free: 244 kB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/1.225, allocations: 40.02 kB / 1.412 GB, free: 204 kB / 1.108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006044/1.225, allocations: 180.7 kB / 1.412 GB, free: 20 kB / 1.108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/1.225, allocations: 4 kB / 1.412 GB, free: 16 kB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003981/1.229, allocations: 2.188 MB / 1.414 GB, free: 13.68 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/1.229, allocations: 8.062 kB / 1.414 GB, free: 13.67 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/1.232, allocations: 0.7041 MB / 1.415 GB, free: 12.94 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003865/1.232, allocations: 164.8 kB / 1.415 GB, free: 12.76 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.719e-05/1.232, allocations: 4 kB / 1.415 GB, free: 12.76 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005648/1.233, allocations: 55.86 kB / 1.415 GB, free: 12.7 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.197e-05/1.233, allocations: 11.98 kB / 1.415 GB, free: 12.69 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.867e-05/1.233, allocations: 11.98 kB / 1.415 GB, free: 12.68 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005462/1.234, allocations: 398.8 kB / 1.415 GB, free: 12.29 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/1.234, allocations: 0 / 1.415 GB, free: 12.29 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000747/1.234, allocations: 187.7 kB / 1.415 GB, free: 12.11 MB / 1.123 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.0004751/1.235, allocations: 176.6 kB / 1.416 GB, free: 11.94 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001723/1.236, allocations: 0.5257 MB / 1.416 GB, free: 11.4 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.236, allocations: 0 / 1.416 GB, free: 11.4 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0007542/1.237, allocations: 299 kB / 1.416 GB, free: 11.1 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/1.239, allocations: 300.5 kB / 1.417 GB, free: 10.81 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/1.242, allocations: 1.073 MB / 1.418 GB, free: 9.695 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005624/1.242, allocations: 0.8621 MB / 1.419 GB, free: 8.805 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0005754/1.243, allocations: 112.5 kB / 1.419 GB, free: 8.695 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/1.243, allocations: 39.42 kB / 1.419 GB, free: 8.656 MB / 1.123 GB Notification: Performance of SimCode: time 1.272e-06/1.243, allocations: 0 / 1.419 GB, free: 8.656 MB / 1.123 GB Notification: Performance of Templates: time 0.02481/1.268, allocations: 12.72 MB / 1.431 GB, free: 12.13 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.572942815721035]