Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.001328/0.001328, allocations: 110 kB / 18.93 MB, free: 2.945 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.001397/0.001397, allocations: 187.2 kB / 22.23 MB, free: 5.16 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.486/1.486, allocations: 225.6 MB / 251 MB, free: 13.02 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.684/2.684, allocations: 443.4 MB / 0.7321 GB, free: 12.48 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.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 63.91 kB / 1.061 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.041/1.043, allocations: 160.8 MB / 1.218 GB, free: 3.637 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2571/1.3, allocations: 191.6 MB / 1.406 GB, free: 6.879 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01176/1.312, allocations: 5.771 MB / 1.411 GB, free: 1.098 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002028/1.314, allocations: 59.5 kB / 1.411 GB, free: 1.039 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001944/1.316, allocations: 0.602 MB / 1.412 GB, free: 444 kB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005913/1.322, allocations: 1.949 MB / 1.414 GB, free: 14.48 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004409/1.326, allocations: 1.237 MB / 1.415 GB, free: 13.25 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.005544/1.332, allocations: 3.029 MB / 1.418 GB, free: 10.21 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001905/1.334, allocations: 0.7513 MB / 1.419 GB, free: 9.441 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003736/1.337, allocations: 1.117 MB / 1.42 GB, free: 8.32 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00403/1.341, allocations: 0.99 MB / 1.421 GB, free: 7.332 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0006649/1.342, allocations: 108 kB / 1.421 GB, free: 7.227 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005488/1.348, allocations: 1.539 MB / 1.422 GB, free: 5.684 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001333/1.349, allocations: 474.6 kB / 1.423 GB, free: 5.219 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002089/1.351, allocations: 0.6572 MB / 1.423 GB, free: 4.559 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.006035/1.357, allocations: 2.145 MB / 1.426 GB, free: 2.406 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.357, allocations: 0 / 1.426 GB, free: 2.406 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.406e-06/1.357, allocations: 0 / 1.426 GB, free: 2.406 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.136e-05/1.357, allocations: 0 / 1.426 GB, free: 2.406 MB / 1.123 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.004166/1.361, allocations: 1.555 MB / 1.427 GB, free: 0.7969 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 6.038e-05/1.361, allocations: 12.03 kB / 1.427 GB, free: 0.7852 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002177/1.364, allocations: 323 kB / 1.427 GB, free: 480 kB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/1.365, allocations: 0.8522 MB / 1.428 GB, free: 15.57 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.312e-05/1.365, allocations: 66 kB / 1.428 GB, free: 15.51 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/1.366, allocations: 80 kB / 1.428 GB, free: 15.43 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/1.367, allocations: 0.9169 MB / 1.429 GB, free: 14.5 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/1.367, allocations: 4 kB / 1.429 GB, free: 14.5 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-05/1.367, allocations: 32 kB / 1.429 GB, free: 14.47 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.477e-05/1.368, allocations: 37.98 kB / 1.429 GB, free: 14.43 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/1.369, allocations: 0.8198 MB / 1.43 GB, free: 13.61 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.006659/1.376, allocations: 3.525 MB / 1.434 GB, free: 9.871 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009135/1.377, allocations: 480.4 kB / 1.434 GB, free: 9.395 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005083/1.377, allocations: 278 kB / 1.434 GB, free: 9.121 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/1.377, allocations: 101.5 kB / 1.434 GB, free: 9.004 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.422e-05/1.377, allocations: 43 kB / 1.434 GB, free: 8.949 MB / 1.139 GB Notification: Performance of pre-optimization done (n=47): time 4.88e-06/1.377, allocations: 4 kB / 1.434 GB, free: 8.945 MB / 1.139 GB Notification: Performance of matching and sorting (n=49): time 0.004984/1.382, allocations: 1.932 MB / 1.436 GB, free: 6.922 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/1.382, allocations: 55.84 kB / 1.436 GB, free: 6.855 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/1.384, allocations: 0.8097 MB / 1.437 GB, free: 6.035 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 9.368e-05/1.384, allocations: 37.7 kB / 1.437 GB, free: 5.992 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005021/1.384, allocations: 480.3 kB / 1.438 GB, free: 5.52 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002416/1.385, allocations: 182.4 kB / 1.438 GB, free: 5.34 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/1.385, allocations: 114.3 kB / 1.438 GB, free: 5.223 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001758/1.385, allocations: 329.9 kB / 1.438 GB, free: 4.895 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004824/1.386, allocations: 245.2 kB / 1.438 GB, free: 4.656 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005707/1.386, allocations: 353.2 kB / 1.439 GB, free: 4.277 MB / 1.139 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003936/1.39, allocations: 1.527 MB / 1.44 GB, free: 2.691 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.39, allocations: 0 / 1.44 GB, free: 2.691 MB / 1.139 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001539/1.392, allocations: 0.7874 MB / 1.441 GB, free: 1.895 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/1.392, allocations: 8 kB / 1.441 GB, free: 1.887 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/1.392, allocations: 8.281 kB / 1.441 GB, free: 1.879 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003555/1.392, allocations: 93.59 kB / 1.441 GB, free: 1.781 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006963/1.393, allocations: 151.8 kB / 1.441 GB, free: 1.633 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003603/1.396, allocations: 3.299 MB / 1.445 GB, free: 14.05 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009623/1.397, allocations: 35.92 kB / 1.445 GB, free: 14.02 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-05/1.397, allocations: 27.98 kB / 1.445 GB, free: 13.99 MB / 1.154 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0006502/1.398, allocations: 290.8 kB / 1.445 GB, free: 13.7 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002843/1.398, allocations: 103.4 kB / 1.445 GB, free: 13.59 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/1.399, allocations: 100.9 kB / 1.445 GB, free: 13.49 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/1.399, allocations: 4 kB / 1.445 GB, free: 13.49 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/1.399, allocations: 7.984 kB / 1.445 GB, free: 13.48 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001218/1.4, allocations: 0.8466 MB / 1.446 GB, free: 12.54 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003666/1.403, allocations: 1.785 MB / 1.448 GB, free: 10.66 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/1.403, allocations: 8.094 kB / 1.448 GB, free: 10.65 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006088/1.404, allocations: 127.8 kB / 1.448 GB, free: 10.53 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002421/1.404, allocations: 60.81 kB / 1.448 GB, free: 10.46 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.311e-05/1.404, allocations: 16 kB / 1.448 GB, free: 10.45 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/1.406, allocations: 1.789 MB / 1.45 GB, free: 8.523 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/1.406, allocations: 4 kB / 1.45 GB, free: 8.52 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/1.408, allocations: 1.078 MB / 1.451 GB, free: 7.383 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006393/1.409, allocations: 240.4 kB / 1.451 GB, free: 7.129 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/1.409, allocations: 12 kB / 1.451 GB, free: 7.117 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008192/1.41, allocations: 34.19 kB / 1.451 GB, free: 7.086 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/1.41, allocations: 51.8 kB / 1.451 GB, free: 7.035 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/1.41, allocations: 32.05 kB / 1.451 GB, free: 7.004 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001161/1.411, allocations: 0.5576 MB / 1.452 GB, free: 6.453 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/1.411, allocations: 0 / 1.452 GB, free: 6.453 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001218/1.412, allocations: 280 kB / 1.452 GB, free: 6.18 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (45): * Single equations (assignments): 44 * 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.0006294/1.413, allocations: 196.3 kB / 1.452 GB, free: 5.984 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001652/1.415, allocations: 0.7921 MB / 1.453 GB, free: 5.164 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/1.415, allocations: 4 kB / 1.453 GB, free: 5.16 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0006648/1.415, allocations: 398.2 kB / 1.453 GB, free: 4.758 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003018/1.418, allocations: 0.5977 MB / 1.454 GB, free: 4.168 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003835/1.422, allocations: 1.842 MB / 1.456 GB, free: 2.258 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/1.423, allocations: 1.091 MB / 1.457 GB, free: 1.133 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009768/1.424, allocations: 215.7 kB / 1.457 GB, free: 0.918 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/1.425, allocations: 63.44 kB / 1.457 GB, free: 0.8594 MB / 1.154 GB Notification: Performance of SimCode: time 1.553e-06/1.425, allocations: 0 / 1.457 GB, free: 0.8594 MB / 1.154 GB Notification: Performance of Templates: time 0.04372/1.468, allocations: 21.3 MB / 1.478 GB, free: 11.85 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.139645973220468]