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.0008593/0.0008593, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008097/0.0008097, 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.8872/0.8872, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.728/1.728, allocations: 377.8 MB / 0.6229 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] 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.083e-06/2.083e-06, allocations: 0 / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.331e-05/3.54e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.6707/0.6707, allocations: 168.4 MB / 1.147 GB, free: 15.36 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.008514/0.6792, allocations: 5.442 MB / 1.152 GB, free: 11.66 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001652/0.6809, allocations: 61.62 kB / 1.152 GB, free: 11.63 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.6824, allocations: 0.5608 MB / 1.153 GB, free: 11.32 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004738/0.6871, allocations: 1.978 MB / 1.155 GB, free: 10.21 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002968/0.6901, allocations: 1.252 MB / 1.156 GB, free: 9.547 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.004535/0.6946, allocations: 3.037 MB / 1.159 GB, free: 8.125 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001381/0.696, allocations: 0.7411 MB / 1.159 GB, free: 7.77 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003325/0.6993, allocations: 1.668 MB / 1.161 GB, free: 7.023 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002051/0.7014, allocations: 0.8536 MB / 1.162 GB, free: 6.75 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002217/0.7016, allocations: 107.1 kB / 1.162 GB, free: 6.75 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002678/0.7043, allocations: 1.19 MB / 1.163 GB, free: 6.324 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0005616/0.7048, allocations: 0.4898 MB / 1.164 GB, free: 6.09 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0007849/0.7056, allocations: 484.9 kB / 1.164 GB, free: 5.895 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.004031/0.7096, allocations: 2.177 MB / 1.166 GB, free: 5.145 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/0.7097, allocations: 5.219 kB / 1.166 GB, free: 5.141 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7097, allocations: 0 / 1.166 GB, free: 5.141 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.394e-05/0.7097, allocations: 0 / 1.166 GB, free: 5.141 MB / 1.01 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.002638/0.7123, allocations: 1.455 MB / 1.168 GB, free: 4.223 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.7124, allocations: 11.02 kB / 1.168 GB, free: 4.223 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/0.7137, allocations: 324 kB / 1.168 GB, free: 4.133 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.7149, allocations: 0.7854 MB / 1.169 GB, free: 3.672 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.695e-05/0.7149, allocations: 69.38 kB / 1.169 GB, free: 3.637 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.715, allocations: 83.22 kB / 1.169 GB, free: 3.609 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.7164, allocations: 1.359 MB / 1.17 GB, free: 2.707 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.7165, allocations: 3.938 kB / 1.17 GB, free: 2.703 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.97e-05/0.7165, allocations: 40.5 kB / 1.17 GB, free: 2.672 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-05/0.7166, allocations: 36.66 kB / 1.17 GB, free: 2.668 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.7177, allocations: 0.8218 MB / 1.171 GB, free: 2.398 MB / 1.01 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.003607/0.7213, allocations: 2.374 MB / 1.173 GB, free: 1.262 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007205/0.722, allocations: 477.4 kB / 1.174 GB, free: 1.059 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/0.7223, allocations: 277.9 kB / 1.174 GB, free: 0.9609 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.7224, allocations: 22.06 kB / 1.174 GB, free: 0.9609 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.7225, allocations: 56.69 kB / 1.174 GB, free: 0.9062 MB / 1.01 GB Notification: Performance of pre-optimization done (n=47): time 3.366e-06/0.7225, allocations: 1.125 kB / 1.174 GB, free: 0.9062 MB / 1.01 GB Notification: Performance of matching and sorting (n=49): time 0.003194/0.7256, allocations: 1.695 MB / 1.176 GB, free: 92 kB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.7257, allocations: 57.34 kB / 1.176 GB, free: 28 kB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006426/0.7263, allocations: 0.651 MB / 1.177 GB, free: 15.73 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/0.7264, allocations: 42.17 kB / 1.177 GB, free: 15.69 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/0.7267, allocations: 491 kB / 1.177 GB, free: 15.31 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.7268, allocations: 178.9 kB / 1.177 GB, free: 15.17 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.7269, allocations: 111.7 kB / 1.177 GB, free: 15.11 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.7271, allocations: 377.9 kB / 1.178 GB, free: 14.77 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.7274, allocations: 244.9 kB / 1.178 GB, free: 14.69 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003764/0.7277, allocations: 405.6 kB / 1.178 GB, free: 14.43 MB / 1.026 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.002197/0.7299, allocations: 1.463 MB / 1.18 GB, free: 13.87 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.73, allocations: 1.375 kB / 1.18 GB, free: 13.87 MB / 1.026 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001119/0.7311, allocations: 0.7736 MB / 1.181 GB, free: 13.54 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.7311, allocations: 5.25 kB / 1.181 GB, free: 13.54 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.7311, allocations: 3.875 kB / 1.181 GB, free: 13.54 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002108/0.7313, allocations: 99.84 kB / 1.181 GB, free: 13.5 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/0.7317, allocations: 136.8 kB / 1.181 GB, free: 13.5 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/0.7337, allocations: 3.044 MB / 1.184 GB, free: 10.81 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005304/0.7342, allocations: 35.31 kB / 1.184 GB, free: 10.79 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.7343, allocations: 21.44 kB / 1.184 GB, free: 10.79 MB / 1.026 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.0004813/0.7347, allocations: 295.6 kB / 1.184 GB, free: 10.59 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.7348, allocations: 85.73 kB / 1.184 GB, free: 10.55 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.324e-05/0.7349, allocations: 86.3 kB / 1.184 GB, free: 10.49 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.7349, allocations: 6.219 kB / 1.184 GB, free: 10.49 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.735, allocations: 2.188 kB / 1.184 GB, free: 10.49 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000739/0.7357, allocations: 0.8472 MB / 1.185 GB, free: 9.871 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002234/0.7379, allocations: 1.534 MB / 1.187 GB, free: 9.074 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.7379, allocations: 3.406 kB / 1.187 GB, free: 9.074 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003237/0.7383, allocations: 125.8 kB / 1.187 GB, free: 9.066 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001458/0.7384, allocations: 67.3 kB / 1.187 GB, free: 9.047 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.7384, allocations: 15.88 kB / 1.187 GB, free: 9.039 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.7395, allocations: 1.653 MB / 1.188 GB, free: 7.645 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.7395, allocations: 11.38 kB / 1.188 GB, free: 7.637 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.7407, allocations: 1.058 MB / 1.189 GB, free: 7.066 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002919/0.7409, allocations: 150.4 kB / 1.19 GB, free: 6.988 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.407e-05/0.741, allocations: 12.61 kB / 1.19 GB, free: 6.984 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/0.7414, allocations: 29.75 kB / 1.19 GB, free: 6.977 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.7415, allocations: 52.12 kB / 1.19 GB, free: 6.961 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.294e-05/0.7415, allocations: 32.67 kB / 1.19 GB, free: 6.953 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0004654/0.742, allocations: 450.7 kB / 1.19 GB, free: 6.758 MB / 1.026 GB Notification: Performance of sort global known variables: time 7e-08/0.742, allocations: 0 / 1.19 GB, free: 6.758 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0009206/0.7429, allocations: 281.7 kB / 1.19 GB, free: 6.734 MB / 1.026 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.0003461/0.7432, allocations: 180.8 kB / 1.191 GB, free: 6.613 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001104/0.7443, allocations: 0.7812 MB / 1.191 GB, free: 6.195 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.7443, allocations: 2.406 kB / 1.191 GB, free: 6.195 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0003698/0.7447, allocations: 399.1 kB / 1.192 GB, free: 5.988 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.746, allocations: 0.5015 MB / 1.192 GB, free: 5.84 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002512/0.7485, allocations: 1.781 MB / 1.194 GB, free: 4.812 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.749, allocations: 0.4901 MB / 1.194 GB, free: 4.66 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.7492, allocations: 65.75 kB / 1.194 GB, free: 4.648 MB / 1.026 GB Notification: Performance of SimCode: time 1.643e-06/0.7492, allocations: 0 / 1.194 GB, free: 4.648 MB / 1.026 GB Notification: Performance of Templates: time 0.02113/0.7703, allocations: 20.96 MB / 1.215 GB, free: 10.38 MB / 1.042 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] "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.T,volSte.T Variables in the result:gain.y,time,volDyn.T,volDyn.ports[1].m_flow,volSte.T [Calling sys.exit(0), Time elapsed: 10.123397496528924]