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.001979/0.001979, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002122/0.002122, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.618/1.618, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 3.382/3.382, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] 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 2.414e-06/2.414e-06, allocations: 0 / 0.8775 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.798e-05/4.04e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.8845/0.8845, allocations: 184.1 MB / 1.057 GB, free: 47.62 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01424/0.8988, allocations: 13.34 MB / 1.07 GB, free: 47.59 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00121/0.9, allocations: 40.97 kB / 1.07 GB, free: 47.59 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.901, allocations: 413.5 kB / 1.071 GB, free: 47.58 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002162/0.9032, allocations: 0.9799 MB / 1.072 GB, free: 47.54 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001808/0.905, allocations: 0.7536 MB / 1.072 GB, free: 47.53 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.00179/0.9068, allocations: 1.499 MB / 1.074 GB, free: 47.53 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005811/0.9074, allocations: 490.9 kB / 1.074 GB, free: 47.51 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004019/0.9114, allocations: 2.047 MB / 1.076 GB, free: 47.46 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/0.9128, allocations: 482.7 kB / 1.077 GB, free: 47.46 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.9129, allocations: 52.38 kB / 1.077 GB, free: 47.46 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.9142, allocations: 0.7285 MB / 1.078 GB, free: 47.41 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002416/0.9145, allocations: 305 kB / 1.078 GB, free: 47.38 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003127/0.9148, allocations: 262.2 kB / 1.078 GB, free: 47.34 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.9162, allocations: 1.191 MB / 1.079 GB, free: 47.22 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.9162, allocations: 0 / 1.079 GB, free: 47.22 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9162, allocations: 0 / 1.079 GB, free: 47.22 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.9162, allocations: 0.875 kB / 1.079 GB, free: 47.22 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.001336/0.9176, allocations: 1.144 MB / 1.08 GB, free: 46.53 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.9176, allocations: 9.344 kB / 1.08 GB, free: 46.53 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008517/0.9184, allocations: 232.4 kB / 1.081 GB, free: 46.48 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007575/0.9192, allocations: 0.4996 MB / 1.081 GB, free: 46.27 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/0.9192, allocations: 41.47 kB / 1.081 GB, free: 46.27 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.605e-05/0.9193, allocations: 61.44 kB / 1.081 GB, free: 46.27 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009025/0.9202, allocations: 0.8213 MB / 1.082 GB, free: 45.79 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.9202, allocations: 7.406 kB / 1.082 GB, free: 45.79 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.937e-05/0.9203, allocations: 29.66 kB / 1.082 GB, free: 45.79 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.17e-05/0.9203, allocations: 23.09 kB / 1.082 GB, free: 45.79 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006303/0.9209, allocations: 335.9 kB / 1.082 GB, free: 45.79 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.003194/0.9241, allocations: 5.501 MB / 1.088 GB, free: 41.24 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.9242, allocations: 123.9 kB / 1.088 GB, free: 41.1 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.627e-05/0.9243, allocations: 57.95 kB / 1.088 GB, free: 41.05 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001335/0.9244, allocations: 26.34 kB / 1.088 GB, free: 41.05 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.9245, allocations: 40.45 kB / 1.088 GB, free: 41.01 MB / 1.01 GB Notification: Performance of pre-optimization done (n=10): time 1.764e-06/0.9245, allocations: 0.8438 kB / 1.088 GB, free: 41.01 MB / 1.01 GB Notification: Performance of matching and sorting (n=10): time 0.0004345/0.9249, allocations: 163.4 kB / 1.088 GB, free: 40.95 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.9249, allocations: 134.4 kB / 1.088 GB, free: 40.8 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007126/0.9256, allocations: 0.6946 MB / 1.089 GB, free: 40.59 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.9257, allocations: 31.58 kB / 1.089 GB, free: 40.56 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.9259, allocations: 0.4954 MB / 1.089 GB, free: 40.27 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.9259, allocations: 42.81 kB / 1.089 GB, free: 40.25 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.926, allocations: 108.8 kB / 1.09 GB, free: 40.22 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.9262, allocations: 0.5607 MB / 1.09 GB, free: 39.72 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.9264, allocations: 66.55 kB / 1.09 GB, free: 39.72 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/0.9267, allocations: 0.5731 MB / 1.091 GB, free: 39.09 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003941/0.9271, allocations: 478.5 kB / 1.091 GB, free: 38.68 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.9271, allocations: 3.75 kB / 1.091 GB, free: 38.68 MB / 1.01 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006745/0.9278, allocations: 422.8 kB / 1.092 GB, free: 38.62 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.9278, allocations: 8.656 kB / 1.092 GB, free: 38.62 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.9278, allocations: 13.16 kB / 1.092 GB, free: 38.62 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.9278, allocations: 11.72 kB / 1.092 GB, free: 38.62 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.9281, allocations: 84.42 kB / 1.092 GB, free: 38.62 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.774e-05/0.9281, allocations: 17.75 kB / 1.092 GB, free: 38.61 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004706/0.9286, allocations: 75.53 kB / 1.092 GB, free: 38.59 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/0.9286, allocations: 24.44 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 0.0001812/0.9288, allocations: 233.7 kB / 1.092 GB, free: 38.42 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.9289, allocations: 63.09 kB / 1.092 GB, free: 38.39 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.825e-05/0.929, allocations: 45.91 kB / 1.092 GB, free: 38.38 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.929, allocations: 7.062 kB / 1.092 GB, free: 38.38 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.929, allocations: 3.188 kB / 1.092 GB, free: 38.38 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.929, allocations: 3.656 kB / 1.092 GB, free: 38.38 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.9302, allocations: 1.298 MB / 1.093 GB, free: 37.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.9302, allocations: 2.75 kB / 1.093 GB, free: 37.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.118e-05/0.9303, allocations: 24.45 kB / 1.093 GB, free: 37.49 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.9303, allocations: 3.219 kB / 1.093 GB, free: 37.49 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.9303, allocations: 2.625 kB / 1.093 GB, free: 37.49 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.337e-05/0.9303, allocations: 2.844 kB / 1.093 GB, free: 37.49 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.9303, allocations: 9.25 kB / 1.093 GB, free: 37.49 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.9306, allocations: 247.6 kB / 1.094 GB, free: 37.28 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.9308, allocations: 72.36 kB / 1.094 GB, free: 37.25 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.922e-05/0.9309, allocations: 8.688 kB / 1.094 GB, free: 37.25 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.9311, allocations: 11.98 kB / 1.094 GB, free: 37.25 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.9311, allocations: 13.03 kB / 1.094 GB, free: 37.25 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.9311, allocations: 5.312 kB / 1.094 GB, free: 37.25 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004782/0.9316, allocations: 432.6 kB / 1.094 GB, free: 37.12 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.9316, allocations: 0.8125 kB / 1.094 GB, free: 37.12 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006002/0.9322, allocations: 192 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.0004666/0.9327, allocations: 184.2 kB / 1.095 GB, free: 36.98 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005059/0.9332, allocations: 210.5 kB / 1.095 GB, free: 36.97 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.9332, allocations: 3.625 kB / 1.095 GB, free: 36.97 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 6.067e-05/0.9332, allocations: 42.88 kB / 1.095 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.0009157/0.9341, allocations: 207 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.00136/0.9355, allocations: 1 MB / 1.096 GB, free: 36.35 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.9358, allocations: 334.2 kB / 1.096 GB, free: 36.26 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003199/0.9361, allocations: 109.2 kB / 1.096 GB, free: 36.25 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.609e-05/0.9362, allocations: 35.03 kB / 1.096 GB, free: 36.24 MB / 1.01 GB Notification: Performance of SimCode: time 6.51e-07/0.9362, allocations: 0 / 1.096 GB, free: 36.24 MB / 1.01 GB Notification: Performance of Templates: time 0.0178/0.954, allocations: 7.592 MB / 1.104 GB, free: 35.59 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","/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: 9.907367018982768]