Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 193.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.601/2.601, allocations: 437 MB / 0.7103 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 71.88 kB / 0.8692 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7654/0.7667, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2099/0.9767, allocations: 187.1 MB / 1.2 GB, free: 6.672 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01713/0.9939, allocations: 13.02 MB / 1.213 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001403/0.9953, allocations: 27.88 kB / 1.213 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.9968, allocations: 417.2 kB / 1.213 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002498/0.9993, allocations: 0.9136 MB / 1.214 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001871/1.001, allocations: 0.7024 MB / 1.215 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001815/1.003, allocations: 1.5 MB / 1.216 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008812/1.004, allocations: 0.6546 MB / 1.217 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003746/1.008, allocations: 1.72 MB / 1.218 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001221/1.009, allocations: 0.5092 MB / 1.219 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/1.009, allocations: 52 kB / 1.219 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/1.011, allocations: 0.8692 MB / 1.22 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002788/1.011, allocations: 279.2 kB / 1.22 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003979/1.011, allocations: 386 kB / 1.221 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001491/1.013, allocations: 1.153 MB / 1.222 GB, free: 432 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/1.013, allocations: 0 / 1.222 GB, free: 432 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.402e-06/1.013, allocations: 4 kB / 1.222 GB, free: 428 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.253e-05/1.013, allocations: 0 / 1.222 GB, free: 428 kB / 0.9669 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.00148/1.014, allocations: 1.049 MB / 1.223 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/1.014, allocations: 8.031 kB / 1.223 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009703/1.015, allocations: 190.8 kB / 1.223 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007538/1.016, allocations: 0.5285 MB / 1.223 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000353/1.017, allocations: 101.2 kB / 1.223 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-05/1.017, allocations: 52 kB / 1.224 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/1.018, allocations: 0.7789 MB / 1.224 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/1.018, allocations: 7.938 kB / 1.224 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.495e-05/1.018, allocations: 31.94 kB / 1.224 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.29e-05/1.018, allocations: 21 kB / 1.224 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009208/1.019, allocations: 471.3 kB / 1.225 GB, free: 13 MB / 0.9825 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.003769/1.023, allocations: 4.413 MB / 1.229 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/1.023, allocations: 102.4 kB / 1.229 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/1.023, allocations: 71.5 kB / 1.229 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/1.023, allocations: 101.1 kB / 1.229 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/1.023, allocations: 34.5 kB / 1.229 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.803e-06/1.023, allocations: 0 / 1.229 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0006546/1.024, allocations: 240.9 kB / 1.23 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/1.024, allocations: 136.4 kB / 1.23 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/1.025, allocations: 0.8486 MB / 1.231 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/1.025, allocations: 29.64 kB / 1.231 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003086/1.025, allocations: 406.8 kB / 1.231 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/1.025, allocations: 39.55 kB / 1.231 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/1.025, allocations: 89.88 kB / 1.231 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001198/1.026, allocations: 321.9 kB / 1.231 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003041/1.026, allocations: 120.7 kB / 1.232 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004901/1.026, allocations: 369.8 kB / 1.232 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005945/1.027, allocations: 449.5 kB / 1.232 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.027, allocations: 0 / 1.232 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009823/1.028, allocations: 0.5041 MB / 1.233 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/1.028, allocations: 8 kB / 1.233 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/1.028, allocations: 8 kB / 1.233 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/1.028, allocations: 8.75 kB / 1.233 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003437/1.028, allocations: 103.8 kB / 1.233 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.735e-05/1.028, allocations: 15.92 kB / 1.233 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006665/1.029, allocations: 123 kB / 1.233 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.161e-05/1.029, allocations: 24.47 kB / 1.233 GB, free: 3.883 MB / 0.9825 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.0002526/1.029, allocations: 225.6 kB / 1.233 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/1.03, allocations: 75.06 kB / 1.233 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/1.03, allocations: 78.17 kB / 1.233 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/1.03, allocations: 4 kB / 1.233 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/1.03, allocations: 3.984 kB / 1.233 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/1.03, allocations: 3.938 kB / 1.233 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/1.031, allocations: 1.124 MB / 1.235 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/1.031, allocations: 7.938 kB / 1.235 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.273e-05/1.031, allocations: 15.98 kB / 1.235 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/1.031, allocations: 4 kB / 1.235 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/1.031, allocations: 8 kB / 1.235 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/1.031, allocations: 4.312 kB / 1.235 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.46e-05/1.031, allocations: 11.94 kB / 1.235 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/1.031, allocations: 255.9 kB / 1.235 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/1.032, allocations: 172.1 kB / 1.235 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.881e-05/1.032, allocations: 8.062 kB / 1.235 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/1.032, allocations: 23.98 kB / 1.235 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/1.032, allocations: 19.86 kB / 1.235 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/1.032, allocations: 4 kB / 1.235 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000796/1.033, allocations: 0.5965 MB / 1.236 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.2e-07/1.033, allocations: 0 / 1.236 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005574/1.034, allocations: 155.8 kB / 1.236 GB, free: 0.9414 MB / 0.9825 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.0004507/1.034, allocations: 186.8 kB / 1.236 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005348/1.035, allocations: 253.2 kB / 1.236 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/1.035, allocations: 0 / 1.236 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.485e-05/1.035, allocations: 43.92 kB / 1.236 GB, free: 484 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/1.036, allocations: 390 kB / 1.237 GB, free: 108 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/1.038, allocations: 1.061 MB / 1.238 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005112/1.038, allocations: 0.9408 MB / 1.239 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000467/1.039, allocations: 146.1 kB / 1.239 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/1.039, allocations: 51.42 kB / 1.239 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/1.039, allocations: 0 / 1.239 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of Templates: time 0.02282/1.062, allocations: 11.73 MB / 1.25 GB, free: 2.301 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches