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.0008554/0.0008554, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0008233/0.0008233, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8845/0.8845, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.731/1.731, allocations: 377.9 MB / 0.6229 GB, free: 8.68 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.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: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.9822 GB, free: 2.051 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.711e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.6154/0.6154, allocations: 165.3 MB / 1.144 GB, free: 1.48 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01257/0.6279, allocations: 11.94 MB / 1.155 GB, free: 9.461 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.6291, allocations: 39.56 kB / 1.155 GB, free: 9.441 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.6303, allocations: 421.7 kB / 1.156 GB, free: 9.188 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002244/0.6326, allocations: 0.9811 MB / 1.157 GB, free: 8.633 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.6344, allocations: 0.7735 MB / 1.157 GB, free: 8.246 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002128/0.6365, allocations: 1.506 MB / 1.159 GB, free: 7.551 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007894/0.6373, allocations: 0.4909 MB / 1.159 GB, free: 7.312 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003757/0.6411, allocations: 2.042 MB / 1.161 GB, free: 6.395 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.6424, allocations: 465.2 kB / 1.162 GB, free: 6.258 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 9.856e-05/0.6425, allocations: 54.25 kB / 1.162 GB, free: 6.258 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.644, allocations: 0.7287 MB / 1.163 GB, free: 6.027 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003218/0.6443, allocations: 298.1 kB / 1.163 GB, free: 5.898 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003101/0.6446, allocations: 264 kB / 1.163 GB, free: 5.797 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.00211/0.6467, allocations: 1.18 MB / 1.164 GB, free: 5.383 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.6467, allocations: 1.344 kB / 1.164 GB, free: 5.383 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6467, allocations: 0 / 1.164 GB, free: 5.383 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.296e-05/0.6467, allocations: 0 / 1.164 GB, free: 5.383 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001528/0.6482, allocations: 0.9939 MB / 1.165 GB, free: 4.668 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.6483, allocations: 9.656 kB / 1.165 GB, free: 4.668 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007432/0.649, allocations: 200.7 kB / 1.166 GB, free: 4.605 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008027/0.6498, allocations: 494.1 kB / 1.166 GB, free: 4.297 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.744e-05/0.6499, allocations: 49.61 kB / 1.166 GB, free: 4.27 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.079e-05/0.6499, allocations: 58.97 kB / 1.166 GB, free: 4.25 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.651, allocations: 0.7975 MB / 1.167 GB, free: 3.719 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.651, allocations: 5.219 kB / 1.167 GB, free: 3.715 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/0.651, allocations: 29.02 kB / 1.167 GB, free: 3.695 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.583e-05/0.6511, allocations: 21.83 kB / 1.167 GB, free: 3.695 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006844/0.6518, allocations: 456.2 kB / 1.167 GB, free: 3.543 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.003118/0.6549, allocations: 3.845 MB / 1.171 GB, free: 200 kB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.655, allocations: 104.5 kB / 1.171 GB, free: 84 kB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.408e-05/0.6551, allocations: 69.42 kB / 1.171 GB, free: 40 kB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/0.6552, allocations: 23.62 kB / 1.171 GB, free: 32 kB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.239e-05/0.6553, allocations: 39.03 kB / 1.171 GB, free: 15.98 MB / 1.026 GB Notification: Performance of pre-optimization done (n=10): time 2.745e-06/0.6553, allocations: 4 kB / 1.171 GB, free: 15.98 MB / 1.026 GB Notification: Performance of matching and sorting (n=10): time 0.0004962/0.6558, allocations: 202.8 kB / 1.172 GB, free: 15.89 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/0.6558, allocations: 136.1 kB / 1.172 GB, free: 15.73 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007189/0.6566, allocations: 0.5884 MB / 1.172 GB, free: 15.46 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.6566, allocations: 27.11 kB / 1.172 GB, free: 15.43 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.6569, allocations: 441.3 kB / 1.173 GB, free: 15.07 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.6569, allocations: 38.2 kB / 1.173 GB, free: 15.05 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.657, allocations: 89.08 kB / 1.173 GB, free: 15 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.6572, allocations: 358.8 kB / 1.173 GB, free: 14.66 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.6574, allocations: 110.1 kB / 1.173 GB, free: 14.64 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004065/0.6578, allocations: 0.5121 MB / 1.174 GB, free: 14.1 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004373/0.6582, allocations: 436.9 kB / 1.174 GB, free: 13.72 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.6583, allocations: 6.219 kB / 1.174 GB, free: 13.72 MB / 1.026 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006975/0.659, allocations: 485 kB / 1.175 GB, free: 13.52 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.659, allocations: 13.42 kB / 1.175 GB, free: 13.52 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.659, allocations: 8.031 kB / 1.175 GB, free: 13.52 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.097e-05/0.659, allocations: 11 kB / 1.175 GB, free: 13.52 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.6593, allocations: 95.95 kB / 1.175 GB, free: 13.51 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-05/0.6593, allocations: 21.16 kB / 1.175 GB, free: 13.5 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004071/0.6597, allocations: 91.09 kB / 1.175 GB, free: 13.47 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.465e-05/0.6597, allocations: 24.61 kB / 1.175 GB, free: 13.46 MB / 1.026 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.0003379/0.6601, allocations: 235.3 kB / 1.175 GB, free: 13.29 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.6602, allocations: 56.97 kB / 1.175 GB, free: 13.26 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.093e-05/0.6603, allocations: 50.41 kB / 1.175 GB, free: 13.23 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.6603, allocations: 6.859 kB / 1.175 GB, free: 13.23 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.6603, allocations: 1.062 kB / 1.175 GB, free: 13.23 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.6603, allocations: 2.734 kB / 1.175 GB, free: 13.23 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.6615, allocations: 0.9906 MB / 1.176 GB, free: 12.47 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.6615, allocations: 7.688 kB / 1.176 GB, free: 12.46 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.262e-05/0.6615, allocations: 15.77 kB / 1.176 GB, free: 12.46 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.6615, allocations: 3.719 kB / 1.176 GB, free: 12.46 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.6615, allocations: 3.312 kB / 1.176 GB, free: 12.46 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/0.6615, allocations: 8.172 kB / 1.176 GB, free: 12.46 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6615, allocations: 6.719 kB / 1.176 GB, free: 12.46 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.6618, allocations: 237.3 kB / 1.176 GB, free: 12.27 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.6619, allocations: 76.58 kB / 1.177 GB, free: 12.22 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.662, allocations: 8.062 kB / 1.177 GB, free: 12.21 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.6621, allocations: 19.41 kB / 1.177 GB, free: 12.21 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.6621, allocations: 12.89 kB / 1.177 GB, free: 12.21 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.6621, allocations: 8.469 kB / 1.177 GB, free: 12.2 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0004932/0.6626, allocations: 405.6 kB / 1.177 GB, free: 12.03 MB / 1.026 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6626, allocations: 0 / 1.177 GB, free: 12.03 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0006869/0.6633, allocations: 183.1 kB / 1.177 GB, free: 11.98 MB / 1.026 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.0005086/0.6638, allocations: 182.4 kB / 1.177 GB, free: 11.87 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0004793/0.6643, allocations: 238 kB / 1.178 GB, free: 11.8 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6643, allocations: 1.469 kB / 1.178 GB, free: 11.8 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 5.893e-05/0.6644, allocations: 44.36 kB / 1.178 GB, free: 11.79 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007333/0.6651, allocations: 215.9 kB / 1.178 GB, free: 11.73 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.6668, allocations: 1.066 MB / 1.179 GB, free: 11.07 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.6671, allocations: 340.4 kB / 1.179 GB, free: 10.96 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.618e-05/0.6672, allocations: 37.62 kB / 1.179 GB, free: 10.95 MB / 1.026 GB Notification: Performance of SimCode: time 1.192e-06/0.6672, allocations: 0 / 1.179 GB, free: 10.95 MB / 1.026 GB Notification: Performance of Templates: time 0.01752/0.6847, allocations: 8.787 MB / 1.188 GB, free: 9.703 MB / 1.026 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 -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/jenkins/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.152928538620472]