Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.002075/0.002075, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.002445/0.002445, allocations: 165.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.587/1.587, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.058/3.058, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 3.938 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.742e-05/3.974e-05, allocations: 4.531 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 1.167/1.167, allocations: 168.4 MB / 1.146 GB, free: 45.41 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01093/1.178, allocations: 5.452 MB / 1.151 GB, free: 45.34 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002372/1.18, allocations: 56.69 kB / 1.151 GB, free: 45.34 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002185/1.182, allocations: 0.5647 MB / 1.152 GB, free: 45.32 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00764/1.19, allocations: 1.966 MB / 1.154 GB, free: 45.24 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004529/1.195, allocations: 1.253 MB / 1.155 GB, free: 45.21 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005961/1.201, allocations: 3.05 MB / 1.158 GB, free: 44.97 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001622/1.202, allocations: 0.7406 MB / 1.159 GB, free: 44.9 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00397/1.206, allocations: 1.658 MB / 1.16 GB, free: 44.75 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002213/1.208, allocations: 0.8523 MB / 1.161 GB, free: 44.66 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002185/1.209, allocations: 107.5 kB / 1.161 GB, free: 44.66 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003127/1.212, allocations: 1.201 MB / 1.162 GB, free: 44.53 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005375/1.212, allocations: 499 kB / 1.163 GB, free: 44.47 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007958/1.213, allocations: 476.1 kB / 1.163 GB, free: 44.42 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003643/1.217, allocations: 2.171 MB / 1.165 GB, free: 44.24 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.217, allocations: 3.688 kB / 1.165 GB, free: 44.24 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.755e-06/1.217, allocations: 3.234 kB / 1.165 GB, free: 44.24 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.692e-05/1.217, allocations: 0.8438 kB / 1.165 GB, free: 44.24 MB / 1.076 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.002598/1.219, allocations: 1.465 MB / 1.167 GB, free: 43.51 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/1.219, allocations: 10.5 kB / 1.167 GB, free: 43.51 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00207/1.221, allocations: 325.8 kB / 1.167 GB, free: 43.45 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/1.223, allocations: 0.7882 MB / 1.168 GB, free: 43.18 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.885e-05/1.223, allocations: 64.16 kB / 1.168 GB, free: 43.18 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/1.223, allocations: 84.59 kB / 1.168 GB, free: 43.18 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/1.225, allocations: 1.357 MB / 1.169 GB, free: 42.56 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/1.225, allocations: 3.406 kB / 1.169 GB, free: 42.56 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-05/1.225, allocations: 36.66 kB / 1.169 GB, free: 42.56 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.112e-05/1.225, allocations: 29.16 kB / 1.17 GB, free: 42.56 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/1.226, allocations: 0.8278 MB / 1.17 GB, free: 42.55 MB / 1.076 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.004976/1.231, allocations: 2.383 MB / 1.173 GB, free: 42.11 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/1.232, allocations: 479.3 kB / 1.173 GB, free: 42.09 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000583/1.233, allocations: 276 kB / 1.173 GB, free: 42.08 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001864/1.233, allocations: 27.52 kB / 1.173 GB, free: 42.08 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/1.233, allocations: 39.75 kB / 1.173 GB, free: 42.04 MB / 1.076 GB Notification: Performance of pre-optimization done (n=47): time 2.435e-06/1.233, allocations: 1.062 kB / 1.173 GB, free: 42.04 MB / 1.076 GB Notification: Performance of matching and sorting (n=49): time 0.004319/1.238, allocations: 1.708 MB / 1.175 GB, free: 41.64 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/1.238, allocations: 61.66 kB / 1.175 GB, free: 41.57 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008775/1.238, allocations: 0.6408 MB / 1.176 GB, free: 41.44 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.567e-05/1.239, allocations: 37.95 kB / 1.176 GB, free: 41.41 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/1.239, allocations: 495.4 kB / 1.176 GB, free: 41.16 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/1.239, allocations: 179.1 kB / 1.176 GB, free: 41.04 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/1.239, allocations: 116.3 kB / 1.177 GB, free: 41.02 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.239, allocations: 380.1 kB / 1.177 GB, free: 40.71 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004412/1.24, allocations: 242.4 kB / 1.177 GB, free: 40.71 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005364/1.24, allocations: 407 kB / 1.178 GB, free: 40.54 MB / 1.076 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.004016/1.244, allocations: 1.449 MB / 1.179 GB, free: 40.43 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/1.244, allocations: 1.438 kB / 1.179 GB, free: 40.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001708/1.246, allocations: 0.7675 MB / 1.18 GB, free: 40.33 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/1.246, allocations: 12.62 kB / 1.18 GB, free: 40.33 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/1.246, allocations: 2.188 kB / 1.18 GB, free: 40.33 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003451/1.246, allocations: 101.6 kB / 1.18 GB, free: 40.31 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007124/1.247, allocations: 146 kB / 1.18 GB, free: 40.31 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002644/1.25, allocations: 3.036 MB / 1.183 GB, free: 37.93 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009964/1.251, allocations: 25.59 kB / 1.183 GB, free: 37.93 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.229e-05/1.251, allocations: 21.31 kB / 1.183 GB, free: 37.93 MB / 1.076 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.0006082/1.251, allocations: 301.8 kB / 1.183 GB, free: 37.81 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/1.252, allocations: 87.48 kB / 1.183 GB, free: 37.77 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/1.252, allocations: 88.25 kB / 1.183 GB, free: 37.76 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/1.252, allocations: 14.66 kB / 1.183 GB, free: 37.75 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/1.252, allocations: 1.438 kB / 1.183 GB, free: 37.75 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001078/1.253, allocations: 0.8392 MB / 1.184 GB, free: 37.29 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003106/1.256, allocations: 1.534 MB / 1.186 GB, free: 36.94 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/1.256, allocations: 2.969 kB / 1.186 GB, free: 36.94 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006683/1.257, allocations: 128.9 kB / 1.186 GB, free: 36.94 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002547/1.257, allocations: 70.38 kB / 1.186 GB, free: 36.93 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.23e-05/1.257, allocations: 15.58 kB / 1.186 GB, free: 36.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/1.258, allocations: 1.646 MB / 1.188 GB, free: 35.74 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/1.258, allocations: 7.703 kB / 1.188 GB, free: 35.74 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/1.26, allocations: 1.062 MB / 1.189 GB, free: 35.43 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004532/1.261, allocations: 146.4 kB / 1.189 GB, free: 35.39 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/1.261, allocations: 14.64 kB / 1.189 GB, free: 35.39 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007199/1.262, allocations: 29.88 kB / 1.189 GB, free: 35.39 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/1.262, allocations: 49.09 kB / 1.189 GB, free: 35.39 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/1.262, allocations: 29.84 kB / 1.189 GB, free: 35.39 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008534/1.263, allocations: 453 kB / 1.189 GB, free: 35.29 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.263, allocations: 0 / 1.189 GB, free: 35.29 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001241/1.264, allocations: 283 kB / 1.19 GB, free: 35.29 MB / 1.076 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.0004699/1.264, allocations: 173.8 kB / 1.19 GB, free: 35.2 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001785/1.266, allocations: 0.7947 MB / 1.191 GB, free: 34.95 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/1.266, allocations: 2 kB / 1.191 GB, free: 34.95 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007126/1.267, allocations: 400 kB / 1.191 GB, free: 34.84 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002673/1.27, allocations: 0.4967 MB / 1.191 GB, free: 34.78 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003723/1.273, allocations: 1.725 MB / 1.193 GB, free: 34.02 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008166/1.274, allocations: 0.496 MB / 1.194 GB, free: 33.91 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0009242/1.275, allocations: 195.3 kB / 1.194 GB, free: 33.87 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/1.275, allocations: 59.91 kB / 1.194 GB, free: 33.86 MB / 1.076 GB Notification: Performance of SimCode: time 1.403e-06/1.275, allocations: 1.094 kB / 1.194 GB, free: 33.86 MB / 1.076 GB Notification: Performance of Templates: time 0.03782/1.313, allocations: 18.1 MB / 1.211 GB, free: 32.02 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.235450692474842]