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.001/0.001, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001005/0.001005, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9593/0.9593, allocations: 177.1 MB / 203.8 MB, free: 5.645 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 2.124/2.124, allocations: 429.5 MB / 0.6736 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.984e-06/1.984e-06, allocations: 0 / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.313e-05/4.512e-05, allocations: 6.312 kB / 0.8782 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.67/0.67, allocations: 184.2 MB / 1.058 GB, free: 47.63 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01266/0.6827, allocations: 13.37 MB / 1.071 GB, free: 47.59 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009721/0.6836, allocations: 38.47 kB / 1.071 GB, free: 47.59 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.6848, allocations: 417.9 kB / 1.072 GB, free: 47.59 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001845/0.6867, allocations: 0.9732 MB / 1.072 GB, free: 47.55 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.6881, allocations: 0.758 MB / 1.073 GB, free: 47.54 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001472/0.6896, allocations: 1.498 MB / 1.075 GB, free: 47.54 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005942/0.6902, allocations: 485.9 kB / 1.075 GB, free: 47.52 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003235/0.6934, allocations: 2.042 MB / 1.077 GB, free: 47.47 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009609/0.6944, allocations: 488.3 kB / 1.078 GB, free: 47.47 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 7.711e-05/0.6945, allocations: 53.19 kB / 1.078 GB, free: 47.47 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.6956, allocations: 0.7296 MB / 1.078 GB, free: 47.43 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002247/0.6958, allocations: 305.6 kB / 1.079 GB, free: 47.39 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002564/0.6961, allocations: 264.2 kB / 1.079 GB, free: 47.36 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.6973, allocations: 0.9309 MB / 1.08 GB, free: 47.23 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6973, allocations: 3.188 kB / 1.08 GB, free: 47.23 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.644e-06/0.6973, allocations: 0 / 1.08 GB, free: 47.23 MB / 1.01 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.6973, allocations: 3.625 kB / 1.08 GB, free: 47.23 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.00106/0.6983, allocations: 1.097 MB / 1.081 GB, free: 46.54 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.6984, allocations: 8.719 kB / 1.081 GB, free: 46.54 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007339/0.6991, allocations: 229.9 kB / 1.081 GB, free: 46.49 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006239/0.6997, allocations: 0.5091 MB / 1.082 GB, free: 46.26 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.702e-05/0.6998, allocations: 45.44 kB / 1.082 GB, free: 46.26 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.924e-05/0.6998, allocations: 63.34 kB / 1.082 GB, free: 46.26 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006962/0.7005, allocations: 0.7113 MB / 1.082 GB, free: 45.79 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.7005, allocations: 5.938 kB / 1.082 GB, free: 45.79 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.454e-05/0.7006, allocations: 30.75 kB / 1.082 GB, free: 45.78 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.294e-05/0.7006, allocations: 23.69 kB / 1.082 GB, free: 45.78 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000374/0.701, allocations: 235.5 kB / 1.083 GB, free: 45.78 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.002168/0.7032, allocations: 5.327 MB / 1.088 GB, free: 41.24 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 8.316e-05/0.7032, allocations: 117.7 kB / 1.088 GB, free: 41.1 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.579e-05/0.7033, allocations: 56.7 kB / 1.088 GB, free: 41.05 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.7034, allocations: 18.39 kB / 1.088 GB, free: 41.05 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.7034, allocations: 43.42 kB / 1.088 GB, free: 41.01 MB / 1.01 GB Notification: Performance of pre-optimization done (n=10): time 1.884e-06/0.7034, allocations: 0 / 1.088 GB, free: 41.01 MB / 1.01 GB Notification: Performance of matching and sorting (n=10): time 0.0003129/0.7037, allocations: 148.3 kB / 1.088 GB, free: 40.95 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.7038, allocations: 134.1 kB / 1.088 GB, free: 40.8 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003962/0.7042, allocations: 0.5783 MB / 1.089 GB, free: 40.59 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.7042, allocations: 32.83 kB / 1.089 GB, free: 40.56 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.7043, allocations: 478.8 kB / 1.089 GB, free: 40.27 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.7043, allocations: 46.03 kB / 1.09 GB, free: 40.25 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.878e-05/0.7044, allocations: 94.92 kB / 1.09 GB, free: 40.22 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.339e-05/0.7045, allocations: 0.5366 MB / 1.09 GB, free: 39.72 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.719e-05/0.7046, allocations: 33.38 kB / 1.09 GB, free: 39.72 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.7047, allocations: 0.5379 MB / 1.091 GB, free: 39.09 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.705, allocations: 425.5 kB / 1.091 GB, free: 38.68 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.705, allocations: 5.219 kB / 1.091 GB, free: 38.68 MB / 1.01 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003443/0.7053, allocations: 351.2 kB / 1.091 GB, free: 38.62 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.7053, allocations: 9.406 kB / 1.091 GB, free: 38.62 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.7053, allocations: 11.03 kB / 1.091 GB, free: 38.62 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.7054, allocations: 11.66 kB / 1.091 GB, free: 38.62 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.7055, allocations: 94.86 kB / 1.092 GB, free: 38.61 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.7055, allocations: 15.44 kB / 1.092 GB, free: 38.61 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.7058, allocations: 78.39 kB / 1.092 GB, free: 38.59 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.7058, allocations: 25.69 kB / 1.092 GB, free: 38.59 MB / 1.01 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 9.71e-05/0.7059, allocations: 188.5 kB / 1.092 GB, free: 38.42 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.051e-05/0.706, allocations: 62.17 kB / 1.092 GB, free: 38.39 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.964e-05/0.706, allocations: 49.03 kB / 1.092 GB, free: 38.39 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.706, allocations: 3.531 kB / 1.092 GB, free: 38.39 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.706, allocations: 2.625 kB / 1.092 GB, free: 38.39 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.706, allocations: 0.9062 kB / 1.092 GB, free: 38.39 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006248/0.7066, allocations: 1.184 MB / 1.093 GB, free: 37.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.7066, allocations: 2.625 kB / 1.093 GB, free: 37.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.902e-05/0.7067, allocations: 20.25 kB / 1.093 GB, free: 37.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.7067, allocations: 7.031 kB / 1.093 GB, free: 37.5 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.7067, allocations: 8.5 kB / 1.093 GB, free: 37.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.7067, allocations: 6.719 kB / 1.093 GB, free: 37.5 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.7067, allocations: 2.625 kB / 1.093 GB, free: 37.5 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.7068, allocations: 236.7 kB / 1.093 GB, free: 37.28 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.532e-05/0.7069, allocations: 70.98 kB / 1.093 GB, free: 37.25 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.791e-05/0.7069, allocations: 8.312 kB / 1.093 GB, free: 37.25 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.707, allocations: 12.17 kB / 1.093 GB, free: 37.25 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.156e-05/0.7071, allocations: 16.31 kB / 1.093 GB, free: 37.25 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.7071, allocations: 5.25 kB / 1.093 GB, free: 37.25 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002068/0.7073, allocations: 350.7 kB / 1.094 GB, free: 37.12 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7073, allocations: 3.594 kB / 1.094 GB, free: 37.12 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003642/0.7076, allocations: 190 kB / 1.094 GB, free: 37.08 MB / 1.01 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.0003795/0.708, allocations: 189.9 kB / 1.094 GB, free: 36.98 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.7082, allocations: 162.2 kB / 1.094 GB, free: 36.97 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7082, allocations: 0.9688 kB / 1.094 GB, free: 36.97 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 3.303e-05/0.7083, allocations: 39.06 kB / 1.094 GB, free: 36.96 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005508/0.7088, allocations: 206 kB / 1.095 GB, free: 36.95 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.7101, allocations: 0.9939 MB / 1.096 GB, free: 36.36 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.469e-05/0.7101, allocations: 162.1 kB / 1.096 GB, free: 36.28 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002117/0.7104, allocations: 100.3 kB / 1.096 GB, free: 36.27 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.7104, allocations: 35.91 kB / 1.096 GB, free: 36.27 MB / 1.01 GB Notification: Performance of SimCode: time 1.062e-06/0.7104, allocations: 0.75 kB / 1.096 GB, free: 36.27 MB / 1.01 GB Notification: Performance of Templates: time 0.01158/0.722, allocations: 7.61 MB / 1.103 GB, free: 35.63 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.238034140784293]