Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.00178/0.00178, allocations: 85.38 kB / 19.76 MB, free: 2.023 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.00245/0.00245, allocations: 158.2 kB / 23 MB, free: 4.961 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.473/1.473, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.819/2.819, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [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.002354/0.002354, allocations: 63.91 kB / 0.982 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9311/0.9335, allocations: 176.1 MB / 1.154 GB, free: 33.29 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2327/1.166, allocations: 168.5 MB / 1.318 GB, free: 14.45 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01055/1.177, allocations: 5.423 MB / 1.324 GB, free: 10.13 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/1.178, allocations: 53.44 kB / 1.324 GB, free: 10.1 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001544/1.18, allocations: 0.545 MB / 1.324 GB, free: 9.656 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005022/1.185, allocations: 1.918 MB / 1.326 GB, free: 8.176 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00313/1.188, allocations: 1.203 MB / 1.327 GB, free: 7.082 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003938/1.192, allocations: 3.002 MB / 1.33 GB, free: 4.07 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/1.193, allocations: 0.8204 MB / 1.331 GB, free: 3.23 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002349/1.195, allocations: 1.324 MB / 1.332 GB, free: 1.902 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001992/1.197, allocations: 0.9786 MB / 1.333 GB, free: 0.9258 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000211/1.197, allocations: 127.9 kB / 1.333 GB, free: 0.8008 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002526/1.2, allocations: 1.196 MB / 1.335 GB, free: 15.6 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006491/1.201, allocations: 0.5805 MB / 1.335 GB, free: 15.02 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007913/1.201, allocations: 0.6069 MB / 1.336 GB, free: 14.41 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003083/1.204, allocations: 2.309 MB / 1.338 GB, free: 12.09 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/1.204, allocations: 0 / 1.338 GB, free: 12.09 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.442e-06/1.204, allocations: 4 kB / 1.338 GB, free: 12.09 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.905e-05/1.204, allocations: 3.938 kB / 1.338 GB, free: 12.09 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.00269/1.207, allocations: 1.59 MB / 1.34 GB, free: 10.46 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/1.207, allocations: 8.031 kB / 1.34 GB, free: 10.45 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002093/1.209, allocations: 338.9 kB / 1.34 GB, free: 10.12 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/1.211, allocations: 0.8461 MB / 1.341 GB, free: 9.242 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.027e-05/1.211, allocations: 73.98 kB / 1.341 GB, free: 9.172 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/1.211, allocations: 96 kB / 1.341 GB, free: 9.078 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/1.213, allocations: 1.54 MB / 1.342 GB, free: 7.418 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/1.213, allocations: 0 / 1.342 GB, free: 7.418 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/1.214, allocations: 48 kB / 1.342 GB, free: 7.371 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.786e-05/1.214, allocations: 34 kB / 1.343 GB, free: 7.336 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/1.215, allocations: 0.9915 MB / 1.343 GB, free: 6.348 MB / 1.186 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.005547/1.221, allocations: 2.738 MB / 1.346 GB, free: 3.559 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009507/1.222, allocations: 0.5584 MB / 1.347 GB, free: 2.996 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005363/1.222, allocations: 323.3 kB / 1.347 GB, free: 2.676 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001512/1.223, allocations: 24.48 kB / 1.347 GB, free: 2.652 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/1.223, allocations: 51.05 kB / 1.347 GB, free: 2.594 MB / 1.186 GB Notification: Performance of pre-optimization done (n=53): time 2.104e-06/1.223, allocations: 0 / 1.347 GB, free: 2.594 MB / 1.186 GB Notification: Performance of matching and sorting (n=55): time 0.003997/1.227, allocations: 1.894 MB / 1.349 GB, free: 0.6602 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/1.227, allocations: 59.91 kB / 1.349 GB, free: 0.5859 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008818/1.228, allocations: 0.6918 MB / 1.35 GB, free: 15.88 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.065e-05/1.228, allocations: 37.7 kB / 1.35 GB, free: 15.84 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004634/1.228, allocations: 0.5389 MB / 1.35 GB, free: 15.29 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/1.228, allocations: 206.3 kB / 1.35 GB, free: 15.09 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/1.228, allocations: 134.6 kB / 1.351 GB, free: 14.95 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002014/1.229, allocations: 386.8 kB / 1.351 GB, free: 14.57 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005165/1.229, allocations: 281.8 kB / 1.351 GB, free: 14.29 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006721/1.23, allocations: 484.5 kB / 1.352 GB, free: 13.76 MB / 1.201 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.004205/1.234, allocations: 1.673 MB / 1.353 GB, free: 12.04 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/1.234, allocations: 4 kB / 1.353 GB, free: 12.03 MB / 1.201 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001649/1.236, allocations: 0.9094 MB / 1.354 GB, free: 11.11 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/1.236, allocations: 8 kB / 1.354 GB, free: 11.1 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/1.236, allocations: 4 kB / 1.354 GB, free: 11.09 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000223/1.236, allocations: 98.45 kB / 1.354 GB, free: 10.99 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007581/1.237, allocations: 167.7 kB / 1.354 GB, free: 10.82 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003851/1.241, allocations: 4.261 MB / 1.359 GB, free: 6.254 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008311/1.241, allocations: 31.91 kB / 1.359 GB, free: 6.223 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-05/1.241, allocations: 28 kB / 1.359 GB, free: 6.195 MB / 1.201 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: 17 * 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 (80): * Single equations (assignments): 77 * 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,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005437/1.242, allocations: 346.4 kB / 1.359 GB, free: 5.848 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/1.242, allocations: 95.36 kB / 1.359 GB, free: 5.754 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/1.242, allocations: 95.72 kB / 1.359 GB, free: 5.66 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/1.242, allocations: 4 kB / 1.359 GB, free: 5.656 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.242, allocations: 0 / 1.359 GB, free: 5.656 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001193/1.244, allocations: 0.7677 MB / 1.36 GB, free: 4.84 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003055/1.247, allocations: 1.7 MB / 1.362 GB, free: 3.059 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.247, allocations: 4.406 kB / 1.362 GB, free: 3.055 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007043/1.247, allocations: 143.8 kB / 1.362 GB, free: 2.914 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001072/1.247, allocations: 48.77 kB / 1.362 GB, free: 2.863 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-05/1.248, allocations: 16 kB / 1.362 GB, free: 2.848 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/1.249, allocations: 1.472 MB / 1.363 GB, free: 1.27 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/1.249, allocations: 7.938 kB / 1.363 GB, free: 1.262 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/1.251, allocations: 1.192 MB / 1.364 GB, free: 12 kB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003959/1.251, allocations: 171.6 kB / 1.365 GB, free: 15.84 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.907e-05/1.251, allocations: 19.98 kB / 1.365 GB, free: 15.82 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00069/1.252, allocations: 29.8 kB / 1.365 GB, free: 15.79 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/1.252, allocations: 55.61 kB / 1.365 GB, free: 15.74 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.794e-05/1.252, allocations: 31.98 kB / 1.365 GB, free: 15.71 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0005938/1.253, allocations: 479 kB / 1.365 GB, free: 15.25 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.21e-07/1.253, allocations: 0 / 1.365 GB, free: 15.25 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009141/1.253, allocations: 304 kB / 1.365 GB, free: 14.95 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003219/1.254, allocations: 175 kB / 1.366 GB, free: 14.77 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001555/1.255, allocations: 0.9715 MB / 1.367 GB, free: 13.76 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/1.255, allocations: 5 kB / 1.367 GB, free: 13.75 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0006552/1.256, allocations: 442.7 kB / 1.367 GB, free: 13.31 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/1.258, allocations: 0.5263 MB / 1.367 GB, free: 12.8 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003306/1.262, allocations: 2.098 MB / 1.37 GB, free: 10.63 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000667/1.262, allocations: 0.5815 MB / 1.37 GB, free: 10.02 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0007209/1.263, allocations: 226.9 kB / 1.37 GB, free: 9.793 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/1.263, allocations: 68.44 kB / 1.37 GB, free: 9.727 MB / 1.217 GB Notification: Performance of SimCode: time 8.62e-07/1.263, allocations: 0 / 1.37 GB, free: 9.727 MB / 1.217 GB Notification: Performance of Templates: time 0.0352/1.298, allocations: 19.8 MB / 1.39 GB, free: 6.43 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.992294106981717]