Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001345/0.001345, allocations: 78.17 kB / 19.76 MB, free: 2.031 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.001442/0.001442, allocations: 158.2 kB / 23.01 MB, free: 4.945 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.407/1.407, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.625/2.625, allocations: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002439/0.002439, allocations: 71.88 kB / 0.9515 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3876, allocations: 169.9 MB / 1.117 GB, free: 2.512 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.7929/1.181, allocations: 168.5 MB / 1.282 GB, free: 14.49 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01145/1.192, allocations: 5.427 MB / 1.287 GB, free: 10.79 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002063/1.194, allocations: 62.41 kB / 1.287 GB, free: 10.75 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002493/1.197, allocations: 0.5565 MB / 1.288 GB, free: 10.45 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.006863/1.203, allocations: 1.918 MB / 1.29 GB, free: 9.406 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004121/1.208, allocations: 1.21 MB / 1.291 GB, free: 8.766 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.005082/1.213, allocations: 2.992 MB / 1.294 GB, free: 7.402 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001663/1.214, allocations: 0.7324 MB / 1.295 GB, free: 7.062 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002584/1.217, allocations: 1.124 MB / 1.296 GB, free: 6.547 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002737/1.22, allocations: 0.9496 MB / 1.297 GB, free: 6.191 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0004017/1.22, allocations: 107.6 kB / 1.297 GB, free: 6.191 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003524/1.224, allocations: 1.204 MB / 1.298 GB, free: 5.754 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0008979/1.224, allocations: 478.2 kB / 1.298 GB, free: 5.547 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001624/1.226, allocations: 0.5471 MB / 1.299 GB, free: 5.277 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004702/1.231, allocations: 2.109 MB / 1.301 GB, free: 4.535 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/1.231, allocations: 1.062 kB / 1.301 GB, free: 4.535 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.304e-06/1.231, allocations: 0 / 1.301 GB, free: 4.535 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.033e-05/1.231, allocations: 0 / 1.301 GB, free: 4.535 MB / 1.139 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.004143/1.235, allocations: 1.474 MB / 1.302 GB, free: 3.605 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/1.235, allocations: 10.16 kB / 1.302 GB, free: 3.605 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002267/1.237, allocations: 322.2 kB / 1.303 GB, free: 3.52 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/1.239, allocations: 0.791 MB / 1.303 GB, free: 3.055 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.017e-05/1.239, allocations: 64.72 kB / 1.304 GB, free: 3.027 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/1.239, allocations: 83.41 kB / 1.304 GB, free: 3 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/1.241, allocations: 1.362 MB / 1.305 GB, free: 2.02 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/1.241, allocations: 0 / 1.305 GB, free: 2.02 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/1.241, allocations: 41.11 kB / 1.305 GB, free: 1.988 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-05/1.242, allocations: 35.17 kB / 1.305 GB, free: 1.98 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/1.243, allocations: 0.8249 MB / 1.306 GB, free: 1.574 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.005641/1.249, allocations: 2.375 MB / 1.308 GB, free: 40 kB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008472/1.25, allocations: 487.8 kB / 1.309 GB, free: 15.77 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004815/1.25, allocations: 276.4 kB / 1.309 GB, free: 15.63 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/1.25, allocations: 25.42 kB / 1.309 GB, free: 15.62 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/1.25, allocations: 40.56 kB / 1.309 GB, free: 15.58 MB / 1.154 GB Notification: Performance of pre-optimization done (n=47): time 2.585e-06/1.25, allocations: 0 / 1.309 GB, free: 15.58 MB / 1.154 GB Notification: Performance of matching and sorting (n=49): time 0.004425/1.255, allocations: 1.702 MB / 1.311 GB, free: 14.59 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/1.255, allocations: 57.41 kB / 1.311 GB, free: 14.52 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008485/1.256, allocations: 0.6513 MB / 1.311 GB, free: 14.14 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.539e-05/1.256, allocations: 38.11 kB / 1.311 GB, free: 14.11 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004401/1.256, allocations: 494.8 kB / 1.312 GB, free: 13.67 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/1.256, allocations: 184.3 kB / 1.312 GB, free: 13.51 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/1.256, allocations: 118.1 kB / 1.312 GB, free: 13.44 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002396/1.257, allocations: 384.7 kB / 1.312 GB, free: 13.07 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004624/1.257, allocations: 242 kB / 1.313 GB, free: 12.95 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006013/1.258, allocations: 404.5 kB / 1.313 GB, free: 12.65 MB / 1.154 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.003957/1.262, allocations: 1.453 MB / 1.315 GB, free: 11.88 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/1.262, allocations: 0 / 1.315 GB, free: 11.88 MB / 1.154 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001479/1.263, allocations: 0.7734 MB / 1.315 GB, free: 11.46 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/1.263, allocations: 8.594 kB / 1.315 GB, free: 11.46 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/1.263, allocations: 1.938 kB / 1.315 GB, free: 11.46 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000302/1.264, allocations: 98.97 kB / 1.315 GB, free: 11.41 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006647/1.264, allocations: 143.6 kB / 1.316 GB, free: 11.38 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003377/1.268, allocations: 3.038 MB / 1.318 GB, free: 8.535 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009686/1.269, allocations: 20.42 kB / 1.318 GB, free: 8.523 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.254e-05/1.269, allocations: 23.69 kB / 1.319 GB, free: 8.52 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.0005709/1.269, allocations: 302.2 kB / 1.319 GB, free: 8.289 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/1.269, allocations: 89.2 kB / 1.319 GB, free: 8.242 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001516/1.269, allocations: 85.17 kB / 1.319 GB, free: 8.176 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/1.269, allocations: 2.969 kB / 1.319 GB, free: 8.176 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/1.269, allocations: 6.312 kB / 1.319 GB, free: 8.176 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001135/1.271, allocations: 0.8426 MB / 1.32 GB, free: 7.492 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002798/1.273, allocations: 1.536 MB / 1.321 GB, free: 6.461 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/1.273, allocations: 2.656 kB / 1.321 GB, free: 6.461 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006065/1.274, allocations: 130.5 kB / 1.321 GB, free: 6.426 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002593/1.274, allocations: 72.73 kB / 1.321 GB, free: 6.387 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.755e-05/1.274, allocations: 12.12 kB / 1.322 GB, free: 6.383 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/1.276, allocations: 1.651 MB / 1.323 GB, free: 4.723 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/1.276, allocations: 3.984 kB / 1.323 GB, free: 4.719 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/1.278, allocations: 1.072 MB / 1.324 GB, free: 3.59 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004873/1.279, allocations: 139.5 kB / 1.324 GB, free: 3.453 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.556e-05/1.279, allocations: 16 kB / 1.324 GB, free: 3.438 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006872/1.279, allocations: 39.5 kB / 1.324 GB, free: 3.402 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/1.279, allocations: 51.86 kB / 1.324 GB, free: 3.352 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.032e-05/1.28, allocations: 31.98 kB / 1.324 GB, free: 3.32 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006831/1.28, allocations: 451 kB / 1.325 GB, free: 2.887 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.28, allocations: 0 / 1.325 GB, free: 2.887 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00108/1.281, allocations: 280 kB / 1.325 GB, free: 2.613 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.0003677/1.282, allocations: 182.2 kB / 1.325 GB, free: 2.426 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00147/1.283, allocations: 0.7693 MB / 1.326 GB, free: 1.629 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.283, allocations: 0 / 1.326 GB, free: 1.629 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0006381/1.284, allocations: 407.8 kB / 1.326 GB, free: 1.219 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/1.286, allocations: 0.4984 MB / 1.327 GB, free: 0.7422 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003159/1.289, allocations: 1.804 MB / 1.329 GB, free: 14.87 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006558/1.29, allocations: 0.4884 MB / 1.329 GB, free: 14.34 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0007205/1.291, allocations: 198.3 kB / 1.329 GB, free: 14.14 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/1.291, allocations: 64.5 kB / 1.329 GB, free: 14.08 MB / 1.17 GB Notification: Performance of SimCode: time 1.262e-06/1.291, allocations: 0 / 1.329 GB, free: 14.08 MB / 1.17 GB Notification: Performance of Templates: time 0.03343/1.324, allocations: 18.26 MB / 1.347 GB, free: 12.26 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.47259933699388]