Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001964/0.001964, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.002058/0.002058, allocations: 165.2 kB / 23.01 MB, free: 4.598 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.418/1.418, allocations: 177.2 MB / 203.4 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.884/2.884, allocations: 394.2 MB / 0.6386 GB, free: 11.98 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002038/0.002038, allocations: 71.89 kB / 1.009 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9282/0.9303, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2247/1.155, allocations: 165.5 MB / 1.348 GB, free: 328 kB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01812/1.173, allocations: 11.98 MB / 1.36 GB, free: 4.312 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00137/1.175, allocations: 43.62 kB / 1.36 GB, free: 4.27 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001737/1.176, allocations: 409.3 kB / 1.36 GB, free: 3.867 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002859/1.179, allocations: 0.9527 MB / 1.361 GB, free: 2.91 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002466/1.182, allocations: 0.7232 MB / 1.362 GB, free: 2.191 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002365/1.184, allocations: 1.516 MB / 1.363 GB, free: 0.6719 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009766/1.185, allocations: 487.1 kB / 1.364 GB, free: 180 kB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004522/1.189, allocations: 1.884 MB / 1.366 GB, free: 14.29 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001443/1.191, allocations: 0.5108 MB / 1.366 GB, free: 13.78 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001518/1.191, allocations: 52 kB / 1.366 GB, free: 13.73 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/1.193, allocations: 0.721 MB / 1.367 GB, free: 13.01 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003931/1.193, allocations: 287.1 kB / 1.367 GB, free: 12.73 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0005343/1.193, allocations: 310.5 kB / 1.368 GB, free: 12.42 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001914/1.195, allocations: 1.16 MB / 1.369 GB, free: 11.26 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.195, allocations: 7.938 kB / 1.369 GB, free: 11.25 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.473e-06/1.195, allocations: 4 kB / 1.369 GB, free: 11.25 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.901e-05/1.195, allocations: 3.938 kB / 1.369 GB, free: 11.24 MB / 1.217 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.001727/1.197, allocations: 0.9867 MB / 1.37 GB, free: 10.22 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/1.197, allocations: 8.031 kB / 1.37 GB, free: 10.21 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009727/1.198, allocations: 203.2 kB / 1.37 GB, free: 10.01 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009493/1.199, allocations: 0.4919 MB / 1.37 GB, free: 9.504 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.257e-05/1.199, allocations: 49.31 kB / 1.37 GB, free: 9.453 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.461e-05/1.199, allocations: 52 kB / 1.371 GB, free: 9.402 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/1.201, allocations: 0.7962 MB / 1.371 GB, free: 8.488 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/1.201, allocations: 4 kB / 1.371 GB, free: 8.484 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.848e-05/1.201, allocations: 35.94 kB / 1.371 GB, free: 8.449 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.296e-05/1.201, allocations: 24.98 kB / 1.371 GB, free: 8.426 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009513/1.202, allocations: 463.1 kB / 1.372 GB, free: 7.973 MB / 1.217 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.003932/1.206, allocations: 3.855 MB / 1.376 GB, free: 3.953 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/1.206, allocations: 102.3 kB / 1.376 GB, free: 3.816 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/1.206, allocations: 71.59 kB / 1.376 GB, free: 3.734 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/1.206, allocations: 19.98 kB / 1.376 GB, free: 3.715 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/1.206, allocations: 34.56 kB / 1.376 GB, free: 3.672 MB / 1.217 GB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/1.206, allocations: 0 / 1.376 GB, free: 3.672 MB / 1.217 GB Notification: Performance of matching and sorting (n=10): time 0.0005251/1.206, allocations: 209.1 kB / 1.376 GB, free: 3.461 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.565e-05/1.207, allocations: 136.5 kB / 1.376 GB, free: 3.297 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008323/1.207, allocations: 0.5928 MB / 1.377 GB, free: 2.695 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/1.207, allocations: 25.7 kB / 1.377 GB, free: 2.664 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000337/1.208, allocations: 435.9 kB / 1.377 GB, free: 2.23 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.627e-05/1.208, allocations: 43.67 kB / 1.377 GB, free: 2.188 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/1.208, allocations: 93.97 kB / 1.377 GB, free: 2.09 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001885/1.208, allocations: 366.7 kB / 1.378 GB, free: 1.723 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/1.208, allocations: 108.7 kB / 1.378 GB, free: 1.617 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005918/1.209, allocations: 0.5041 MB / 1.378 GB, free: 0.9609 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000634/1.21, allocations: 437.9 kB / 1.379 GB, free: 436 kB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/1.21, allocations: 4 kB / 1.379 GB, free: 432 kB / 1.217 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009965/1.211, allocations: 485.3 kB / 1.379 GB, free: 15.94 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/1.211, allocations: 8 kB / 1.379 GB, free: 15.93 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/1.211, allocations: 12.09 kB / 1.379 GB, free: 15.92 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/1.211, allocations: 11.94 kB / 1.379 GB, free: 15.91 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003304/1.211, allocations: 99.81 kB / 1.379 GB, free: 15.81 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/1.211, allocations: 19.88 kB / 1.379 GB, free: 15.79 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005298/1.212, allocations: 87.58 kB / 1.379 GB, free: 15.71 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.051e-05/1.212, allocations: 27.98 kB / 1.379 GB, free: 15.68 MB / 1.232 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.0002698/1.212, allocations: 229.5 kB / 1.38 GB, free: 15.45 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/1.212, allocations: 55.67 kB / 1.38 GB, free: 15.39 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.255e-05/1.212, allocations: 48.12 kB / 1.38 GB, free: 15.34 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/1.212, allocations: 4 kB / 1.38 GB, free: 15.34 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.212, allocations: 0 / 1.38 GB, free: 15.34 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/1.212, allocations: 0 / 1.38 GB, free: 15.34 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/1.213, allocations: 0.9954 MB / 1.381 GB, free: 14.27 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/1.213, allocations: 4 kB / 1.381 GB, free: 14.27 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.35e-05/1.214, allocations: 31.86 kB / 1.381 GB, free: 14.24 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/1.214, allocations: 4 kB / 1.381 GB, free: 14.23 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/1.214, allocations: 4.312 kB / 1.381 GB, free: 14.23 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/1.214, allocations: 4 kB / 1.381 GB, free: 14.23 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.214, allocations: 4 kB / 1.381 GB, free: 14.22 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/1.214, allocations: 244.3 kB / 1.381 GB, free: 13.94 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/1.214, allocations: 71.56 kB / 1.381 GB, free: 13.87 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.05e-05/1.214, allocations: 8 kB / 1.381 GB, free: 13.86 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/1.214, allocations: 19.97 kB / 1.381 GB, free: 13.84 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/1.214, allocations: 11.98 kB / 1.381 GB, free: 13.83 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/1.214, allocations: 8 kB / 1.381 GB, free: 13.82 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005983/1.215, allocations: 398.8 kB / 1.381 GB, free: 13.43 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/1.215, allocations: 0 / 1.381 GB, free: 13.43 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0005953/1.216, allocations: 191.4 kB / 1.382 GB, free: 13.25 MB / 1.232 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.0004122/1.216, allocations: 180.3 kB / 1.382 GB, free: 13.07 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0005336/1.217, allocations: 237.2 kB / 1.382 GB, free: 12.84 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.217, allocations: 0 / 1.382 GB, free: 12.84 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 7.738e-05/1.217, allocations: 51.84 kB / 1.382 GB, free: 12.79 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009458/1.218, allocations: 202.1 kB / 1.382 GB, free: 12.6 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/1.219, allocations: 1.037 MB / 1.383 GB, free: 11.5 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/1.22, allocations: 339.8 kB / 1.384 GB, free: 11.15 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0003531/1.22, allocations: 116.7 kB / 1.384 GB, free: 11.04 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.984e-05/1.22, allocations: 32.5 kB / 1.384 GB, free: 11 MB / 1.232 GB Notification: Performance of SimCode: time 4.21e-07/1.22, allocations: 4 kB / 1.384 GB, free: 11 MB / 1.232 GB Notification: Performance of Templates: time 0.01514/1.235, allocations: 7.67 MB / 1.391 GB, free: 3.555 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.215790051035583]