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.0007949/0.0007949, allocations: 72.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.0007789/0.0007789, 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.8444/0.8444, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.762/1.762, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.71e-05, allocations: 4.953 kB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.6011/0.6011, allocations: 165.3 MB / 1.162 GB, free: 11.95 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.01158/0.6127, allocations: 11.91 MB / 1.174 GB, free: 3.949 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008027/0.6135, allocations: 38.59 kB / 1.174 GB, free: 3.93 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.6146, allocations: 415.5 kB / 1.174 GB, free: 3.684 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.001869/0.6165, allocations: 0.9751 MB / 1.175 GB, free: 3.133 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.001528/0.618, allocations: 0.7713 MB / 1.176 GB, free: 2.742 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.001408/0.6194, allocations: 1.493 MB / 1.178 GB, free: 2.051 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006008/0.62, allocations: 458 kB / 1.178 GB, free: 1.852 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003177/0.6232, allocations: 2.042 MB / 1.18 GB, free: 0.9297 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009536/0.6241, allocations: 458 kB / 1.18 GB, free: 0.7969 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 7.846e-05/0.6242, allocations: 52.66 kB / 1.181 GB, free: 0.7969 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.6254, allocations: 0.7309 MB / 1.181 GB, free: 0.5664 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0002843/0.6257, allocations: 300.9 kB / 1.182 GB, free: 444 kB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0002552/0.6259, allocations: 256.1 kB / 1.182 GB, free: 344 kB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.001805/0.6277, allocations: 1.173 MB / 1.183 GB, free: 15.93 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.6277, allocations: 4.703 kB / 1.183 GB, free: 15.92 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6277, allocations: 0 / 1.183 GB, free: 15.92 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.6277, allocations: 0 / 1.183 GB, free: 15.92 MB / 1.042 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.001212/0.6289, allocations: 0.9883 MB / 1.184 GB, free: 15.21 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.629, allocations: 9.906 kB / 1.184 GB, free: 15.21 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006214/0.6296, allocations: 204.1 kB / 1.184 GB, free: 15.15 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006298/0.6302, allocations: 484.2 kB / 1.185 GB, free: 14.83 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.02e-05/0.6303, allocations: 43.41 kB / 1.185 GB, free: 14.82 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.013e-05/0.6303, allocations: 63.28 kB / 1.185 GB, free: 14.79 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008748/0.6312, allocations: 0.7941 MB / 1.185 GB, free: 14.27 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.6312, allocations: 5.156 kB / 1.185 GB, free: 14.26 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.755e-05/0.6313, allocations: 24.38 kB / 1.185 GB, free: 14.25 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.369e-05/0.6313, allocations: 22.73 kB / 1.185 GB, free: 14.24 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006405/0.6319, allocations: 463.6 kB / 1.186 GB, free: 14.09 MB / 1.042 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.002462/0.6344, allocations: 3.849 MB / 1.19 GB, free: 10.75 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.6345, allocations: 106.5 kB / 1.19 GB, free: 10.63 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.889e-05/0.6346, allocations: 71.11 kB / 1.19 GB, free: 10.59 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.912e-05/0.6347, allocations: 18.83 kB / 1.19 GB, free: 10.59 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.6347, allocations: 44.78 kB / 1.19 GB, free: 10.54 MB / 1.042 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.6347, allocations: 5.156 kB / 1.19 GB, free: 10.53 MB / 1.042 GB Notification: Performance of matching and sorting (n=10): time 0.0003606/0.6351, allocations: 199 kB / 1.19 GB, free: 10.44 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.6351, allocations: 134.8 kB / 1.19 GB, free: 10.28 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005396/0.6357, allocations: 0.5869 MB / 1.191 GB, free: 10.01 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.6357, allocations: 37.3 kB / 1.191 GB, free: 9.973 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/0.6359, allocations: 423.9 kB / 1.191 GB, free: 9.637 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.6359, allocations: 45.2 kB / 1.191 GB, free: 9.602 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.636, allocations: 89.12 kB / 1.191 GB, free: 9.551 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.6361, allocations: 357.9 kB / 1.192 GB, free: 9.219 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.6363, allocations: 107.5 kB / 1.192 GB, free: 9.195 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/0.6367, allocations: 0.5123 MB / 1.192 GB, free: 8.656 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003767/0.637, allocations: 432.8 kB / 1.193 GB, free: 8.277 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.637, allocations: 2.344 kB / 1.193 GB, free: 8.277 MB / 1.042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000562/0.6376, allocations: 488.7 kB / 1.193 GB, free: 8.078 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.6376, allocations: 10.11 kB / 1.193 GB, free: 8.078 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.6376, allocations: 7.844 kB / 1.193 GB, free: 8.078 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.6377, allocations: 11.09 kB / 1.193 GB, free: 8.078 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.6378, allocations: 98.97 kB / 1.193 GB, free: 8.062 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/0.6378, allocations: 16.83 kB / 1.193 GB, free: 8.059 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.6381, allocations: 84.69 kB / 1.193 GB, free: 8.027 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/0.6382, allocations: 24.12 kB / 1.193 GB, free: 8.023 MB / 1.042 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.0001837/0.6383, allocations: 230.7 kB / 1.194 GB, free: 7.852 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/0.6384, allocations: 56.08 kB / 1.194 GB, free: 7.82 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.97e-05/0.6385, allocations: 52.5 kB / 1.194 GB, free: 7.797 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.6385, allocations: 1.375 kB / 1.194 GB, free: 7.797 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.6385, allocations: 1.312 kB / 1.194 GB, free: 7.797 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.6385, allocations: 3.938 kB / 1.194 GB, free: 7.797 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008312/0.6393, allocations: 0.9909 MB / 1.195 GB, free: 7.035 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.6393, allocations: 2.156 kB / 1.195 GB, free: 7.035 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.246e-05/0.6394, allocations: 21.48 kB / 1.195 GB, free: 7.031 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.6394, allocations: 3.281 kB / 1.195 GB, free: 7.031 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.6394, allocations: 7.656 kB / 1.195 GB, free: 7.027 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.6394, allocations: 10.58 kB / 1.195 GB, free: 7.023 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.6394, allocations: 7.188 kB / 1.195 GB, free: 7.02 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.6396, allocations: 240.5 kB / 1.195 GB, free: 6.824 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.505e-05/0.6397, allocations: 60.52 kB / 1.195 GB, free: 6.789 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.47e-05/0.6397, allocations: 14.44 kB / 1.195 GB, free: 6.781 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.6398, allocations: 26.22 kB / 1.195 GB, free: 6.773 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.957e-05/0.6398, allocations: 8.125 kB / 1.195 GB, free: 6.773 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.6398, allocations: 4.781 kB / 1.195 GB, free: 6.773 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0003576/0.6402, allocations: 411.7 kB / 1.196 GB, free: 6.594 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.6402, allocations: 1.094 kB / 1.196 GB, free: 6.594 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0004195/0.6406, allocations: 176.4 kB / 1.196 GB, free: 6.551 MB / 1.042 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.000342/0.641, allocations: 185.5 kB / 1.196 GB, free: 6.438 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003455/0.6413, allocations: 233.8 kB / 1.196 GB, free: 6.367 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.6413, allocations: 5.031 kB / 1.196 GB, free: 6.363 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 5.411e-05/0.6414, allocations: 46.64 kB / 1.196 GB, free: 6.348 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005497/0.6419, allocations: 206.2 kB / 1.196 GB, free: 6.289 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.6431, allocations: 1.051 MB / 1.197 GB, free: 5.641 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.6434, allocations: 337.7 kB / 1.198 GB, free: 5.523 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.123e-05/0.6434, allocations: 39.47 kB / 1.198 GB, free: 5.516 MB / 1.042 GB Notification: Performance of SimCode: time 6.71e-07/0.6434, allocations: 1.094 kB / 1.198 GB, free: 5.516 MB / 1.042 GB Notification: Performance of Templates: time 0.009528/0.653, allocations: 8.68 MB / 1.206 GB, free: 2.191 MB / 1.042 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 -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/jenkins/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: 7.951409806497395]