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.002387/0.002387, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.002702/0.002702, allocations: 161.3 kB / 23.55 MB, free: 0.8672 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 1.708/1.708, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 3.145/3.145, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] 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.903e-06/1.903e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.062e-05/5.252e-05, allocations: 7.234 kB / 0.8108 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.3496/0.3497, allocations: 184.1 MB / 0.9906 GB, free: 9.418 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.03738/0.387, allocations: 13.37 MB / 1.004 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001857/0.3889, allocations: 47.62 kB / 1.004 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.002661/0.3916, allocations: 417.2 kB / 1.004 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.00468/0.3962, allocations: 0.9752 MB / 1.005 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.003935/0.4002, allocations: 0.7711 MB / 1.006 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.003822/0.404, allocations: 1.512 MB / 1.007 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001549/0.4055, allocations: 0.507 MB / 1.008 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00873/0.4143, allocations: 2.051 MB / 1.01 GB, free: 5.703 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002402/0.4167, allocations: 480.4 kB / 1.01 GB, free: 5.25 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0002716/0.4169, allocations: 52 kB / 1.01 GB, free: 5.199 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002483/0.4194, allocations: 0.7285 MB / 1.011 GB, free: 4.469 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0005016/0.4199, allocations: 299.1 kB / 1.011 GB, free: 4.176 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0007019/0.4206, allocations: 263.3 kB / 1.012 GB, free: 3.918 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.002316/0.423, allocations: 1.18 MB / 1.013 GB, free: 2.734 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.423, allocations: 0 / 1.013 GB, free: 2.734 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.273e-06/0.423, allocations: 0 / 1.013 GB, free: 2.734 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.007e-05/0.423, allocations: 0 / 1.013 GB, free: 2.734 MB / 0.9636 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.00232/0.4253, allocations: 1.149 MB / 1.014 GB, free: 1.547 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.4254, allocations: 12.03 kB / 1.014 GB, free: 1.535 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.4264, allocations: 235.1 kB / 1.014 GB, free: 1.305 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.4276, allocations: 0.5103 MB / 1.015 GB, free: 0.7656 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.945e-05/0.4277, allocations: 45.31 kB / 1.015 GB, free: 0.7227 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.582e-05/0.4278, allocations: 60 kB / 1.015 GB, free: 0.6641 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001878/0.4297, allocations: 0.8171 MB / 1.015 GB, free: 15.69 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.4297, allocations: 8 kB / 1.015 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.79e-05/0.4297, allocations: 24 kB / 1.015 GB, free: 15.66 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.922e-05/0.4298, allocations: 25 kB / 1.015 GB, free: 15.63 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009204/0.4307, allocations: 339.2 kB / 1.016 GB, free: 15.3 MB / 0.9792 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.006157/0.4369, allocations: 5.515 MB / 1.021 GB, free: 9.586 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.4371, allocations: 128.3 kB / 1.021 GB, free: 9.41 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.4372, allocations: 58.83 kB / 1.021 GB, free: 9.336 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.4373, allocations: 15.94 kB / 1.021 GB, free: 9.32 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.641e-05/0.4374, allocations: 45.38 kB / 1.021 GB, free: 9.266 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=10): time 2.074e-06/0.4374, allocations: 0 / 1.021 GB, free: 9.266 MB / 0.9792 GB Notification: Performance of matching and sorting (n=10): time 0.001072/0.4384, allocations: 161.6 kB / 1.022 GB, free: 9.102 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.4386, allocations: 136.5 kB / 1.022 GB, free: 8.938 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.4397, allocations: 0.7054 MB / 1.022 GB, free: 8.215 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.4397, allocations: 29.7 kB / 1.022 GB, free: 8.18 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005062/0.4402, allocations: 0.4987 MB / 1.023 GB, free: 7.672 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 5.203e-05/0.4403, allocations: 35.73 kB / 1.023 GB, free: 7.637 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.4405, allocations: 103.6 kB / 1.023 GB, free: 7.527 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003736/0.4408, allocations: 0.5667 MB / 1.024 GB, free: 6.949 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.4411, allocations: 64.7 kB / 1.024 GB, free: 6.887 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007292/0.4418, allocations: 0.5773 MB / 1.024 GB, free: 6.113 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007537/0.4425, allocations: 484.5 kB / 1.025 GB, free: 5.492 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.4426, allocations: 7.875 kB / 1.025 GB, free: 5.484 MB / 0.9792 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009773/0.4435, allocations: 413.2 kB / 1.025 GB, free: 5.074 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.4436, allocations: 12 kB / 1.025 GB, free: 5.062 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.4436, allocations: 4 kB / 1.025 GB, free: 5.059 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.4436, allocations: 12 kB / 1.025 GB, free: 5.047 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.4439, allocations: 91.83 kB / 1.025 GB, free: 4.957 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.303e-05/0.4439, allocations: 15.94 kB / 1.025 GB, free: 4.941 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004857/0.4444, allocations: 74.47 kB / 1.025 GB, free: 4.871 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.285e-05/0.4445, allocations: 24 kB / 1.025 GB, free: 4.848 MB / 0.9792 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.0002932/0.4448, allocations: 236.3 kB / 1.026 GB, free: 4.605 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.4449, allocations: 51.67 kB / 1.026 GB, free: 4.555 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.445, allocations: 52.12 kB / 1.026 GB, free: 4.504 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.445, allocations: 4 kB / 1.026 GB, free: 4.5 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.445, allocations: 0 / 1.026 GB, free: 4.5 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.445, allocations: 7.938 kB / 1.026 GB, free: 4.492 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.4468, allocations: 1.303 MB / 1.027 GB, free: 3.102 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.4468, allocations: 8 kB / 1.027 GB, free: 3.094 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.711e-05/0.4469, allocations: 16 kB / 1.027 GB, free: 3.078 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.204e-05/0.4469, allocations: 7.984 kB / 1.027 GB, free: 3.07 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.4469, allocations: 0 / 1.027 GB, free: 3.07 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.224e-05/0.447, allocations: 11.88 kB / 1.027 GB, free: 3.059 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.447, allocations: 8.312 kB / 1.027 GB, free: 3.051 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.4473, allocations: 245.2 kB / 1.027 GB, free: 2.75 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.4475, allocations: 71.59 kB / 1.027 GB, free: 2.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.169e-05/0.4476, allocations: 0 / 1.027 GB, free: 2.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.4478, allocations: 19.92 kB / 1.027 GB, free: 2.66 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.4478, allocations: 15.92 kB / 1.027 GB, free: 2.645 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.4478, allocations: 4 kB / 1.027 GB, free: 2.641 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0006527/0.4485, allocations: 438.7 kB / 1.028 GB, free: 2.215 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1e-07/0.4485, allocations: 0 / 1.028 GB, free: 2.215 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0006649/0.4491, allocations: 183.5 kB / 1.028 GB, free: 2.035 MB / 0.9792 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.000543/0.4497, allocations: 190.3 kB / 1.028 GB, free: 1.848 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0007565/0.4504, allocations: 208 kB / 1.028 GB, free: 1.641 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4504, allocations: 0 / 1.028 GB, free: 1.641 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 8.307e-05/0.4505, allocations: 48.8 kB / 1.028 GB, free: 1.59 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.4516, allocations: 210.2 kB / 1.029 GB, free: 1.391 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.4534, allocations: 1.005 MB / 1.03 GB, free: 320 kB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.4538, allocations: 331.8 kB / 1.03 GB, free: 15.96 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0003346/0.4541, allocations: 96.67 kB / 1.03 GB, free: 15.87 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.183e-05/0.4542, allocations: 40.48 kB / 1.03 GB, free: 15.83 MB / 0.9948 GB Notification: Performance of SimCode: time 6.31e-07/0.4542, allocations: 0 / 1.03 GB, free: 15.83 MB / 0.9948 GB Notification: Performance of Templates: time 0.01717/0.4714, allocations: 7.705 MB / 1.037 GB, free: 8.375 MB / 0.9948 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 240] 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: 9.717497157980688]