Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.001517/0.001517, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001462/0.001462, allocations: 209.4 kB / 22.99 MB, free: 4.957 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.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 3.106/3.106, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") [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.002012/0.002012, allocations: 62.41 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2961, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2014/0.4976, allocations: 165.5 MB / 1.489 GB, free: 10.81 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01599/0.5135, allocations: 11.98 MB / 1.5 GB, free: 14.8 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008559/0.5144, allocations: 43.62 kB / 1.5 GB, free: 14.76 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.5156, allocations: 401.4 kB / 1.501 GB, free: 14.37 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002198/0.5178, allocations: 0.9605 MB / 1.502 GB, free: 13.4 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.5195, allocations: 0.7234 MB / 1.502 GB, free: 12.68 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00176/0.5213, allocations: 1.528 MB / 1.504 GB, free: 11.15 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007331/0.522, allocations: 0.499 MB / 1.504 GB, free: 10.63 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00368/0.5257, allocations: 1.876 MB / 1.506 GB, free: 8.75 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.5268, allocations: 0.5216 MB / 1.507 GB, free: 8.23 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 9.23e-05/0.5269, allocations: 52 kB / 1.507 GB, free: 8.18 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.5281, allocations: 0.7327 MB / 1.508 GB, free: 7.445 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002878/0.5284, allocations: 283.1 kB / 1.508 GB, free: 7.168 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0003356/0.5287, allocations: 314.5 kB / 1.508 GB, free: 6.859 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.5302, allocations: 1.164 MB / 1.509 GB, free: 5.691 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.5302, allocations: 4 kB / 1.509 GB, free: 5.688 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5302, allocations: 3.938 kB / 1.509 GB, free: 5.684 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.5302, allocations: 0 / 1.509 GB, free: 5.684 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001498/0.5317, allocations: 1.006 MB / 1.51 GB, free: 4.641 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.5318, allocations: 8.031 kB / 1.51 GB, free: 4.633 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009777/0.5327, allocations: 195.3 kB / 1.51 GB, free: 4.441 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009408/0.5337, allocations: 0.492 MB / 1.511 GB, free: 3.926 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.945e-05/0.5337, allocations: 41.31 kB / 1.511 GB, free: 3.883 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.657e-05/0.5338, allocations: 63.98 kB / 1.511 GB, free: 3.82 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.5351, allocations: 0.7923 MB / 1.512 GB, free: 2.914 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.5351, allocations: 7.938 kB / 1.512 GB, free: 2.906 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-05/0.5352, allocations: 31.94 kB / 1.512 GB, free: 2.875 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.495e-05/0.5352, allocations: 21 kB / 1.512 GB, free: 2.855 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009492/0.5362, allocations: 467.3 kB / 1.512 GB, free: 2.398 MB / 1.201 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.003863/0.54, allocations: 3.847 MB / 1.516 GB, free: 14.39 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.5402, allocations: 106.4 kB / 1.516 GB, free: 14.25 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.5403, allocations: 71.5 kB / 1.516 GB, free: 14.17 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/0.5404, allocations: 23.92 kB / 1.516 GB, free: 14.14 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.5405, allocations: 34.56 kB / 1.516 GB, free: 14.1 MB / 1.217 GB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.5405, allocations: 0 / 1.516 GB, free: 14.1 MB / 1.217 GB Notification: Performance of matching and sorting (n=10): time 0.0005436/0.541, allocations: 209.3 kB / 1.517 GB, free: 13.89 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.827e-05/0.5411, allocations: 128.5 kB / 1.517 GB, free: 13.73 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008363/0.5419, allocations: 0.5889 MB / 1.517 GB, free: 13.14 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.5419, allocations: 29.69 kB / 1.517 GB, free: 13.1 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003368/0.5423, allocations: 439.8 kB / 1.518 GB, free: 12.66 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.5423, allocations: 39.69 kB / 1.518 GB, free: 12.62 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.5425, allocations: 93.91 kB / 1.518 GB, free: 12.53 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.5426, allocations: 362.7 kB / 1.518 GB, free: 12.16 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002903/0.5429, allocations: 116.7 kB / 1.518 GB, free: 12.05 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00058/0.5435, allocations: 0.5039 MB / 1.519 GB, free: 11.39 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006351/0.5441, allocations: 445.5 kB / 1.519 GB, free: 10.85 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5441, allocations: 0 / 1.519 GB, free: 10.85 MB / 1.217 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009667/0.5451, allocations: 489.3 kB / 1.52 GB, free: 10.37 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.5451, allocations: 8 kB / 1.52 GB, free: 10.36 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.5451, allocations: 12.09 kB / 1.52 GB, free: 10.35 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.5452, allocations: 12 kB / 1.52 GB, free: 10.34 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/0.5455, allocations: 91.83 kB / 1.52 GB, free: 10.25 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.5455, allocations: 11.98 kB / 1.52 GB, free: 10.23 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005408/0.5461, allocations: 91.56 kB / 1.52 GB, free: 10.14 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.295e-05/0.5461, allocations: 24 kB / 1.52 GB, free: 10.12 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002625/0.5464, allocations: 237.5 kB / 1.52 GB, free: 9.879 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.5465, allocations: 55.62 kB / 1.52 GB, free: 9.824 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.1e-05/0.5466, allocations: 60.06 kB / 1.52 GB, free: 9.766 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.5466, allocations: 3.938 kB / 1.52 GB, free: 9.762 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5466, allocations: 4 kB / 1.52 GB, free: 9.758 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.5466, allocations: 0 / 1.52 GB, free: 9.758 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/0.5479, allocations: 0.9953 MB / 1.521 GB, free: 8.691 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.5479, allocations: 4 kB / 1.521 GB, free: 8.688 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.085e-05/0.548, allocations: 20.06 kB / 1.521 GB, free: 8.668 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.548, allocations: 0 / 1.521 GB, free: 8.668 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.548, allocations: 8 kB / 1.521 GB, free: 8.66 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.548, allocations: 12.25 kB / 1.521 GB, free: 8.648 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.548, allocations: 4 kB / 1.521 GB, free: 8.645 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.5483, allocations: 236.4 kB / 1.521 GB, free: 8.367 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/0.5485, allocations: 71.58 kB / 1.522 GB, free: 8.297 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.384e-05/0.5486, allocations: 4 kB / 1.522 GB, free: 8.293 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.5488, allocations: 15.98 kB / 1.522 GB, free: 8.277 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.5488, allocations: 15.92 kB / 1.522 GB, free: 8.262 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.5488, allocations: 12 kB / 1.522 GB, free: 8.25 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0005903/0.5494, allocations: 402.8 kB / 1.522 GB, free: 7.859 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.5494, allocations: 0 / 1.522 GB, free: 7.859 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009109/0.5503, allocations: 187.4 kB / 1.522 GB, free: 7.676 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005401/0.5509, allocations: 186.1 kB / 1.522 GB, free: 7.496 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0006799/0.5516, allocations: 241.2 kB / 1.523 GB, free: 7.262 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5516, allocations: 0 / 1.523 GB, free: 7.262 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 7.334e-05/0.5516, allocations: 43.95 kB / 1.523 GB, free: 7.219 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009851/0.5526, allocations: 215.7 kB / 1.523 GB, free: 7.016 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.5542, allocations: 1.03 MB / 1.524 GB, free: 5.926 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.5546, allocations: 347.7 kB / 1.524 GB, free: 5.559 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003331/0.5549, allocations: 116.5 kB / 1.524 GB, free: 5.445 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.647e-05/0.555, allocations: 35.38 kB / 1.524 GB, free: 5.41 MB / 1.217 GB Notification: Performance of SimCode: time 3.6e-07/0.555, allocations: 0 / 1.524 GB, free: 5.41 MB / 1.217 GB Notification: Performance of Templates: time 0.01647/0.5715, allocations: 8.753 MB / 1.533 GB, free: 12.88 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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: 8.83297807899362]