Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.001312/0.001312, allocations: 110.5 kB / 17.6 MB, free: 4.684 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.00134/0.00134, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.574/1.574, allocations: 225.6 MB / 249.4 MB, free: 3.281 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.986/2.986, allocations: 496.2 MB / 0.7819 GB, free: 12.3 MB / 0.6231 GB " [Timeout remaining time 176] 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.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 63.89 kB / 1.136 GB, free: 12.45 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.282/1.284, allocations: 173.6 MB / 1.305 GB, free: 33.42 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04758/1.332, allocations: 50.72 MB / 1.355 GB, free: 13.31 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02675/1.358, allocations: 12.75 MB / 1.367 GB, free: 4.191 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004767/1.363, allocations: 78.72 kB / 1.367 GB, free: 4.164 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003426/1.367, allocations: 0.786 MB / 1.368 GB, free: 3.68 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008503/1.375, allocations: 1.911 MB / 1.37 GB, free: 2.566 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005666/1.381, allocations: 1.397 MB / 1.371 GB, free: 1.805 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00794/1.389, allocations: 3.258 MB / 1.375 GB, free: 308 kB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002712/1.391, allocations: 0.9794 MB / 1.376 GB, free: 15.8 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005842/1.397, allocations: 1.501 MB / 1.377 GB, free: 15.1 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002889/1.4, allocations: 0.9681 MB / 1.378 GB, free: 14.66 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003495/1.4, allocations: 96.34 kB / 1.378 GB, free: 14.66 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004554/1.405, allocations: 1.071 MB / 1.379 GB, free: 14.29 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006622/1.406, allocations: 307.4 kB / 1.379 GB, free: 14.1 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001633/1.407, allocations: 0.6749 MB / 1.38 GB, free: 13.69 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.007105/1.414, allocations: 1.97 MB / 1.382 GB, free: 12.93 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/1.414, allocations: 1.062 kB / 1.382 GB, free: 12.93 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.745e-06/1.414, allocations: 4 kB / 1.382 GB, free: 12.93 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.66e-05/1.414, allocations: 0 / 1.382 GB, free: 12.93 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.004431/1.419, allocations: 1.743 MB / 1.384 GB, free: 11.74 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 7.682e-05/1.419, allocations: 13.69 kB / 1.384 GB, free: 11.74 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009393/1.42, allocations: 215.3 kB / 1.384 GB, free: 11.65 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003052/1.423, allocations: 1.102 MB / 1.385 GB, free: 11 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/1.423, allocations: 70.19 kB / 1.385 GB, free: 10.97 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/1.423, allocations: 88.12 kB / 1.385 GB, free: 10.94 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002685/1.426, allocations: 0.9986 MB / 1.386 GB, free: 10.41 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/1.426, allocations: 6.594 kB / 1.386 GB, free: 10.41 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/1.426, allocations: 37.34 kB / 1.386 GB, free: 10.38 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.364e-05/1.426, allocations: 22.52 kB / 1.386 GB, free: 10.38 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/1.428, allocations: 0.6518 MB / 1.387 GB, free: 10.17 MB / 1.092 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.007617/1.436, allocations: 4.731 MB / 1.392 GB, free: 6.477 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/1.437, allocations: 378.4 kB / 1.392 GB, free: 6.348 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005674/1.438, allocations: 205.2 kB / 1.392 GB, free: 6.285 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/1.439, allocations: 1.146 MB / 1.393 GB, free: 4.957 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/1.439, allocations: 37.31 kB / 1.393 GB, free: 4.914 MB / 1.092 GB Notification: Performance of pre-optimization done (n=29): time 6.823e-06/1.439, allocations: 7.984 kB / 1.393 GB, free: 4.906 MB / 1.092 GB Notification: Performance of matching and sorting (n=29): time 0.003461/1.442, allocations: 1.072 MB / 1.394 GB, free: 4.348 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/1.442, allocations: 59.48 kB / 1.394 GB, free: 4.281 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/1.444, allocations: 0.9724 MB / 1.395 GB, free: 3.891 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.187e-05/1.444, allocations: 36.83 kB / 1.395 GB, free: 3.852 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006231/1.445, allocations: 0.5932 MB / 1.396 GB, free: 3.383 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/1.445, allocations: 110.8 kB / 1.396 GB, free: 3.297 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/1.445, allocations: 115.1 kB / 1.396 GB, free: 3.234 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002235/1.445, allocations: 326 kB / 1.396 GB, free: 2.922 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005982/1.446, allocations: 197.9 kB / 1.397 GB, free: 2.871 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008247/1.447, allocations: 412.1 kB / 1.397 GB, free: 2.562 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/1.448, allocations: 0.6033 MB / 1.398 GB, free: 2.16 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/1.448, allocations: 6.219 kB / 1.398 GB, free: 2.156 MB / 1.092 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002156/1.45, allocations: 0.7529 MB / 1.398 GB, free: 1.852 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/1.45, allocations: 10.03 kB / 1.398 GB, free: 1.852 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/1.451, allocations: 7.859 kB / 1.398 GB, free: 1.852 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009581/1.451, allocations: 155.7 kB / 1.398 GB, free: 1.801 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007493/1.452, allocations: 153.9 kB / 1.399 GB, free: 1.781 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/1.454, allocations: 1.72 MB / 1.4 GB, free: 144 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/1.455, allocations: 87.44 kB / 1.4 GB, free: 100 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/1.455, allocations: 30.75 kB / 1.4 GB, free: 96 kB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0008068/1.456, allocations: 264.1 kB / 1.401 GB, free: 15.9 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003612/1.456, allocations: 115.7 kB / 1.401 GB, free: 15.84 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/1.459, allocations: 0.7247 MB / 1.402 GB, free: 15.54 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.42e-05/1.459, allocations: 5.141 kB / 1.402 GB, free: 15.54 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/1.459, allocations: 8.938 kB / 1.402 GB, free: 15.54 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/1.459, allocations: 1.359 kB / 1.402 GB, free: 15.54 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004576/1.463, allocations: 1.624 MB / 1.403 GB, free: 14.73 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/1.463, allocations: 1.531 kB / 1.403 GB, free: 14.73 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005238/1.464, allocations: 87.17 kB / 1.403 GB, free: 14.73 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007036/1.465, allocations: 153 kB / 1.403 GB, free: 14.67 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.088e-05/1.465, allocations: 18.41 kB / 1.403 GB, free: 14.66 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/1.466, allocations: 1.706 MB / 1.405 GB, free: 13.03 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.466, allocations: 2.125 kB / 1.405 GB, free: 13.03 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002112/1.468, allocations: 0.7786 MB / 1.406 GB, free: 12.61 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008049/1.469, allocations: 251.8 kB / 1.406 GB, free: 12.41 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003488/1.469, allocations: 12.53 kB / 1.406 GB, free: 12.41 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008762/1.47, allocations: 43.03 kB / 1.406 GB, free: 12.4 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/1.47, allocations: 34.5 kB / 1.406 GB, free: 12.39 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/1.471, allocations: 21.47 kB / 1.406 GB, free: 12.39 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001627/1.472, allocations: 0.6644 MB / 1.407 GB, free: 12.11 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/1.472, allocations: 0 / 1.407 GB, free: 12.11 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002065/1.474, allocations: 376.3 kB / 1.407 GB, free: 12.02 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001637/1.476, allocations: 416.1 kB / 1.408 GB, free: 11.81 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002042/1.478, allocations: 0.5362 MB / 1.408 GB, free: 11.66 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/1.478, allocations: 1.375 kB / 1.408 GB, free: 11.66 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009828/1.479, allocations: 285 kB / 1.408 GB, free: 11.59 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003243/1.482, allocations: 0.5171 MB / 1.409 GB, free: 11.43 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005231/1.487, allocations: 1.852 MB / 1.411 GB, free: 10.43 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001548/1.489, allocations: 1.101 MB / 1.412 GB, free: 9.703 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.00147/1.49, allocations: 192.3 kB / 1.412 GB, free: 9.648 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/1.491, allocations: 70.98 kB / 1.412 GB, free: 9.637 MB / 1.107 GB Notification: Performance of SimCode: time 2.134e-06/1.491, allocations: 0 / 1.412 GB, free: 9.637 MB / 1.107 GB Notification: Performance of Templates: time 0.05836/1.549, allocations: 21.13 MB / 1.433 GB, free: 1.355 MB / 1.107 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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: 10.856222180649638]