Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.0008848/0.0008848, allocations: 76.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.0008017/0.0008017, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8846/0.8846, allocations: 177.2 MB / 203.5 MB, free: 5.75 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.762/1.762, allocations: 377.9 MB / 0.6229 GB, free: 8.672 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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.9822 GB, free: 2.098 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.889e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6355/0.6355, allocations: 165.5 MB / 1.144 GB, free: 1.363 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01293/0.6484, allocations: 11.98 MB / 1.156 GB, free: 9.312 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001585/0.65, allocations: 45.09 kB / 1.156 GB, free: 9.289 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001533/0.6515, allocations: 426.7 kB / 1.156 GB, free: 9.039 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003533/0.6551, allocations: 1.233 MB / 1.157 GB, free: 8.34 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002083/0.6572, allocations: 0.7726 MB / 1.158 GB, free: 7.938 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002708/0.6599, allocations: 2.042 MB / 1.16 GB, free: 6.977 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009232/0.6608, allocations: 0.6165 MB / 1.161 GB, free: 6.676 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004344/0.6651, allocations: 2.235 MB / 1.163 GB, free: 5.664 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/0.6667, allocations: 0.6019 MB / 1.163 GB, free: 5.477 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.6668, allocations: 80.81 kB / 1.163 GB, free: 5.477 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/0.6684, allocations: 0.7333 MB / 1.164 GB, free: 5.223 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.000417/0.6688, allocations: 417.2 kB / 1.165 GB, free: 5.039 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003955/0.6692, allocations: 349.4 kB / 1.165 GB, free: 4.898 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002407/0.6716, allocations: 1.519 MB / 1.166 GB, free: 4.352 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.6716, allocations: 2.109 kB / 1.166 GB, free: 4.352 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.244e-06/0.6716, allocations: 0 / 1.166 GB, free: 4.352 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.761e-05/0.6716, allocations: 0 / 1.166 GB, free: 4.352 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001682/0.6733, allocations: 1.18 MB / 1.167 GB, free: 3.555 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.6733, allocations: 13.91 kB / 1.167 GB, free: 3.551 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007929/0.6741, allocations: 218.6 kB / 1.168 GB, free: 3.484 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009009/0.675, allocations: 0.614 MB / 1.168 GB, free: 3.109 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.827e-05/0.6751, allocations: 61.58 kB / 1.168 GB, free: 3.078 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.6752, allocations: 76.33 kB / 1.168 GB, free: 3.055 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.6764, allocations: 1.059 MB / 1.169 GB, free: 2.383 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.6764, allocations: 2.594 kB / 1.169 GB, free: 2.383 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.194e-05/0.6765, allocations: 33.03 kB / 1.169 GB, free: 2.359 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.069e-05/0.6765, allocations: 28.45 kB / 1.17 GB, free: 2.359 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008013/0.6773, allocations: 0.6214 MB / 1.17 GB, free: 2.145 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.003116/0.6804, allocations: 3.581 MB / 1.174 GB, free: 15.32 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007063/0.6811, allocations: 464.5 kB / 1.174 GB, free: 15.09 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/0.6814, allocations: 234.6 kB / 1.174 GB, free: 14.99 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001286/0.6816, allocations: 25.33 kB / 1.174 GB, free: 14.98 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.6816, allocations: 43.95 kB / 1.174 GB, free: 14.94 MB / 1.026 GB Notification: Performance of pre-optimization done (n=43): time 2.184e-06/0.6816, allocations: 0 / 1.174 GB, free: 14.94 MB / 1.026 GB Notification: Performance of matching and sorting (n=45): time 0.002315/0.6839, allocations: 1.526 MB / 1.176 GB, free: 14.08 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.684, allocations: 108.8 kB / 1.176 GB, free: 13.95 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005366/0.6845, allocations: 0.5415 MB / 1.176 GB, free: 13.7 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.6845, allocations: 37.77 kB / 1.177 GB, free: 13.66 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.6848, allocations: 438.1 kB / 1.177 GB, free: 13.32 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.6849, allocations: 170.7 kB / 1.177 GB, free: 13.18 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.685, allocations: 119.4 kB / 1.177 GB, free: 13.12 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.6851, allocations: 369.5 kB / 1.178 GB, free: 12.79 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.6854, allocations: 187.2 kB / 1.178 GB, free: 12.72 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004297/0.6858, allocations: 0.5629 MB / 1.178 GB, free: 12.2 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/0.6873, allocations: 1.097 MB / 1.179 GB, free: 11.62 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.6873, allocations: 2.25 kB / 1.179 GB, free: 11.62 MB / 1.026 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007422/0.6881, allocations: 0.6597 MB / 1.18 GB, free: 11.34 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.6881, allocations: 7.125 kB / 1.18 GB, free: 11.34 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.6881, allocations: 11.16 kB / 1.18 GB, free: 11.34 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.6881, allocations: 9.781 kB / 1.18 GB, free: 11.34 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.6884, allocations: 127.2 kB / 1.18 GB, free: 11.32 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/0.6884, allocations: 20.45 kB / 1.18 GB, free: 11.32 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.6887, allocations: 25.95 kB / 1.18 GB, free: 11.3 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.34e-05/0.6888, allocations: 28.25 kB / 1.18 GB, free: 11.3 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: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0003462/0.6891, allocations: 269.5 kB / 1.18 GB, free: 11.11 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.184e-05/0.6892, allocations: 72.67 kB / 1.181 GB, free: 11.07 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.996e-05/0.6893, allocations: 75.03 kB / 1.181 GB, free: 11.03 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.6893, allocations: 12.53 kB / 1.181 GB, free: 11.02 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.6893, allocations: 1.219 kB / 1.181 GB, free: 11.02 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005389/0.6899, allocations: 0.7138 MB / 1.181 GB, free: 10.45 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/0.6916, allocations: 1.433 MB / 1.183 GB, free: 9.574 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.6916, allocations: 5.219 kB / 1.183 GB, free: 9.574 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002559/0.6918, allocations: 98.25 kB / 1.183 GB, free: 9.566 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/0.6918, allocations: 5.406 kB / 1.183 GB, free: 9.566 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.6919, allocations: 18.53 kB / 1.183 GB, free: 9.559 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/0.6919, allocations: 15.45 kB / 1.183 GB, free: 9.555 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.6919, allocations: 3.75 kB / 1.183 GB, free: 9.555 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008568/0.6927, allocations: 0.854 MB / 1.184 GB, free: 9.031 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/0.6929, allocations: 119.1 kB / 1.184 GB, free: 8.965 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/0.693, allocations: 10.47 kB / 1.184 GB, free: 8.961 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.6932, allocations: 19.44 kB / 1.184 GB, free: 8.953 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.6932, allocations: 43.42 kB / 1.184 GB, free: 8.941 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.6932, allocations: 17.88 kB / 1.184 GB, free: 8.938 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0003111/0.6936, allocations: 365.3 kB / 1.184 GB, free: 8.777 MB / 1.026 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6936, allocations: 0 / 1.184 GB, free: 8.777 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0006523/0.6942, allocations: 195.3 kB / 1.184 GB, free: 8.762 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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): 45 * 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.0004157/0.6946, allocations: 202.9 kB / 1.185 GB, free: 8.621 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0006937/0.6953, allocations: 459.3 kB / 1.185 GB, free: 8.473 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6953, allocations: 1.562 kB / 1.185 GB, free: 8.473 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.6955, allocations: 201.4 kB / 1.185 GB, free: 8.406 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009517/0.6965, allocations: 344 kB / 1.186 GB, free: 8.316 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.6985, allocations: 1.608 MB / 1.187 GB, free: 7.344 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.6988, allocations: 435.3 kB / 1.188 GB, free: 7.211 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.699, allocations: 56.69 kB / 1.188 GB, free: 7.203 MB / 1.026 GB Notification: Performance of SimCode: time 1.553e-06/0.699, allocations: 0 / 1.188 GB, free: 7.203 MB / 1.026 GB Notification: Performance of Templates: time 0.01611/0.7151, allocations: 11.54 MB / 1.199 GB, free: 3.43 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.383746827952564]